]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wmalosslessdec.c
lavfi: add video buffer sink, and use it in avtools
[ffmpeg] / libavcodec / wmalosslessdec.c
index d4c9c5a8284f3cda91032e9d60e5a53acdb725dd..cb7f66715bcc7abbe7df90fc1d6f89c6c8c17cd4 100644 (file)
@@ -22,6 +22,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/attributes.h"
 #include "avcodec.h"
 #include "internal.h"
 #include "get_bits.h"
@@ -1041,7 +1042,7 @@ static int decode_frame(WmallDecodeCtx *s)
     /* no idea what these are for, might be the number of samples
        that need to be skipped at the beginning or end of a stream */
     if (get_bits1(gb)) {
-        int skip;
+        int av_unused skip;
 
         /* usually true for the first frame */
         if (get_bits1(gb)) {