Commit 1af73c8c authored by michael's avatar michael

dont ignore return of decode_header()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10461 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f15a53a2
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment