[FFmpeg-cvslog] avformat/img2_alias_pix: fix 2 unused variable warnings

Michael Niedermayer git at videolan.org
Tue Apr 29 19:04:13 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Apr 29 18:47:27 2014 +0200| [4506ed336ff74ea0cafbb01edbb44821815a60a4] | committer: Michael Niedermayer

avformat/img2_alias_pix: fix 2 unused variable warnings

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4506ed336ff74ea0cafbb01edbb44821815a60a4
---

 libavformat/img2_alias_pix.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/img2_alias_pix.c b/libavformat/img2_alias_pix.c
index d88db21..a3d5cfa 100644
--- a/libavformat/img2_alias_pix.c
+++ b/libavformat/img2_alias_pix.c
@@ -28,8 +28,8 @@ static int brender_read_probe(AVProbeData *p)
     const uint8_t *end = b + p->buf_size;
     int width  = bytestream_get_be16(&b);
     int height = bytestream_get_be16(&b);
-    int ox     = bytestream_get_be16(&b);
-    int oy     = bytestream_get_be16(&b);
+    av_unused int ox = bytestream_get_be16(&b);
+    av_unused int oy = bytestream_get_be16(&b);
     int bpp    = bytestream_get_be16(&b);
     int x, y;
 



More information about the ffmpeg-cvslog mailing list