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:
784036e
)
return -1 on bitstream errors instead of continuing, as the following stuff almost...
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 4 Jul 2006 17:08:35 +0000
(17:08 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 4 Jul 2006 17:08:35 +0000
(17:08 +0000)
Originally committed as revision 5613 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/cavs.c
patch
|
blob
|
history
diff --git
a/libavcodec/cavs.c
b/libavcodec/cavs.c
index 996567cbe4502316808c017bb736ed00836dc0ab..6752c2aef6d725920b0d0cd93147c441c6b8c95b 100644
(file)
--- a/
libavcodec/cavs.c
+++ b/
libavcodec/cavs.c
@@
-897,7
+897,7
@@
static int decode_mb_i(AVSContext *h) {
pred_mode_uv = get_ue_golomb(gb);
if(pred_mode_uv > 6) {
av_log(h->s.avctx, AV_LOG_ERROR, "illegal intra chroma pred mode\n");
-
pred_mode_uv = 0
;
+
return -1
;
}
/* save pred modes before they get modified */