[FFmpeg-cvslog] mmvideo.c: Remove unused variable in mm_decode_pal().
Diego Biurrun
git at videolan.org
Mon May 7 23:06:26 CEST 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Apr 19 14:49:51 2012 +0200| [246b050f51aa3c1ddd5260dee66e7bc56bc02ea1] | committer: Diego Biurrun
mmvideo.c: Remove unused variable in mm_decode_pal().
libavcodec/mmvideo.c:87:9: warning: variable ‘i’ set but not used
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=246b050f51aa3c1ddd5260dee66e7bc56bc02ea1
---
libavcodec/mmvideo.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/libavcodec/mmvideo.c b/libavcodec/mmvideo.c
index 6c81fd4..1a9dfdd 100644
--- a/libavcodec/mmvideo.c
+++ b/libavcodec/mmvideo.c
@@ -84,8 +84,7 @@ static int mm_decode_pal(MmContext *s)
*/
static int mm_decode_intra(MmContext * s, int half_horiz, int half_vert)
{
- int i, x, y;
- i=0; x=0; y=0;
+ int x = 0, y = 0;
while (bytestream2_get_bytes_left(&s->gb) > 0) {
int run_length, color;
More information about the ffmpeg-cvslog
mailing list