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:
b85bf99
)
do not ignore return of decode_header()
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 9 Sep 2007 17:01:11 +0000
(17:01 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 9 Sep 2007 17:01:11 +0000
(17:01 +0000)
Originally committed as revision 10461 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/snow.c
patch
|
blob
|
history
diff --git
a/libavcodec/snow.c
b/libavcodec/snow.c
index
a52cffc
..
b24cbb5
100644
(file)
--- a/
libavcodec/snow.c
+++ b/
libavcodec/snow.c
@@
-4438,7
+4438,8
@@
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
ff_build_rac_states(c, 0.05*(1LL<<32), 256-8);
s->current_picture.pict_type= FF_I_TYPE; //FIXME I vs. P
- decode_header(s);
+ if(decode_header(s)<0)
+ return -1;
common_init_after_header(avctx);
// realloc slice buffer for the case that spatial_decomposition_count changed