OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4cca71
)
flashsv: use skip_bits_long() where required
author
Måns Rullgård
<mans@mansr.com>
Mon, 24 Nov 2008 19:00:55 +0000
(19:00 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Mon, 24 Nov 2008 19:00:55 +0000
(19:00 +0000)
skip_bits(gb, n) with n > 17 doesn't work with all bitstream readers.
Switch to skip_bits_long() instead.
Originally committed as revision 15930 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/flashsv.c
patch
|
blob
|
history
diff --git
a/libavcodec/flashsv.c
b/libavcodec/flashsv.c
index
3842594
..
abe1d87
100644
(file)
--- a/
libavcodec/flashsv.c
+++ b/
libavcodec/flashsv.c
@@
-211,7
+211,7
@@
static int flashsv_decode_frame(AVCodecContext *avctx,
/* return -1; */
}
copy_region(s->tmpblock, s->frame.data[0], s->image_height-(hp+hs+1), wp, hs, ws, s->frame.linesize[0]);
- skip_bits(&gb, 8*size); /* skip the consumed bits */
+ skip_bits
_long
(&gb, 8*size); /* skip the consumed bits */
}
}
}