OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75add6f
)
Detect split RV30 slices
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 28 Oct 2008 05:37:02 +0000
(
05:37
+0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Tue, 28 Oct 2008 05:37:02 +0000
(
05:37
+0000)
Originally committed as revision 15732 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/rv30.c
patch
|
blob
|
history
diff --git
a/libavcodec/rv30.c
b/libavcodec/rv30.c
index
2cd12bc
..
0202873
100644
(file)
--- a/
libavcodec/rv30.c
+++ b/
libavcodec/rv30.c
@@
-40,7
+40,8
@@
static int rv30_parse_slice_header(RV34DecContext *r, GetBitContext *gb, SliceIn
int mb_size;
memset(si, 0, sizeof(SliceInfo));
- skip_bits(gb, 3);
+ if(get_bits(gb, 3))
+ return -1;
si->type = get_bits(gb, 2);
if(si->type == 1) si->type = 0;
if(get_bits1(gb))