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:
e15421f
)
In RV3/4 nonzero MB offset for the first slice also indicates error
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Fri, 13 Feb 2009 07:06:36 +0000
(07:06 +0000)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Fri, 13 Feb 2009 07:06:36 +0000
(07:06 +0000)
Originally committed as revision 17201 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/rv34.c
patch
|
blob
|
history
diff --git
a/libavcodec/rv34.c
b/libavcodec/rv34.c
index
ae57973
..
820fb22
100644
(file)
--- a/
libavcodec/rv34.c
+++ b/
libavcodec/rv34.c
@@
-1402,7
+1402,7
@@
int ff_rv34_decode_frame(AVCodecContext *avctx,
return -1;
}
init_get_bits(&s->gb, buf+get_slice_offset(avctx, slices_hdr, 0), buf_size-get_slice_offset(avctx, slices_hdr, 0));
- if(r->parse_slice_header(r, &r->s.gb, &si) < 0){
+ if(r->parse_slice_header(r, &r->s.gb, &si) < 0
|| si.start
){
av_log(avctx, AV_LOG_ERROR, "First slice header is incorrect\n");
return -1;
}