projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbe6ba5
)
mmvideo.c: Remove unused variable in mm_decode_pal().
author
Diego Biurrun
<diego@biurrun.de>
Thu, 19 Apr 2012 12:49:51 +0000
(14:49 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Mon, 7 May 2012 12:17:41 +0000
(14:17 +0200)
libavcodec/mmvideo.c:87:9: warning: variable āiā set but not used
libavcodec/mmvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/mmvideo.c
b/libavcodec/mmvideo.c
index 6c81fd4ce192fa76d6878cf63ef38a55f85c39fd..1a9dfdd9ed02f50574cb0cc6bf6baaa4d621984c 100644
(file)
--- 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;