[SCM] libav/experimental: prevent warnings about functions being possibly unused

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:10:11 UTC 2013


The following commit has been merged in the experimental branch:
commit 1918057c8a3bc37c27e476d16736fe8bc76afd34
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Thu Dec 6 08:38:49 2007 +0000

    prevent warnings about functions being possibly unused
    
    Originally committed as revision 11174 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index dbb4688..9f36553 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -1160,7 +1160,7 @@ STOP_TIMER("horizontal_compose53i")}
     cs->y += 2;
 }
 
-static void spatial_compose53i(IDWTELEM *buffer, int width, int height, int stride){
+static void av_unused spatial_compose53i(IDWTELEM *buffer, int width, int height, int stride){
     dwt_compose_t cs;
     spatial_compose53i_init(&cs, buffer, height, stride);
     while(cs.y <= height)
@@ -1310,7 +1310,7 @@ STOP_TIMER("horizontal_compose97i")}}
     cs->y += 2;
 }
 
-static void spatial_compose97i(IDWTELEM *buffer, int width, int height, int stride){
+static void av_unused spatial_compose97i(IDWTELEM *buffer, int width, int height, int stride){
     dwt_compose_t cs;
     spatial_compose97i_init(&cs, buffer, height, stride);
     while(cs.y <= height)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list