Commit 8c8a6193 authored by michael's avatar michael

crash fix by Carl Eugen Hoyos cehoyos ag.or at


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7684 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 317aefe0
......@@ -910,7 +910,8 @@ static int svq3_decode_frame (AVCodecContext *avctx,
s->next_p_frame_damaged = 0;
}
frame_start (h);
if (frame_start (h) < 0)
return -1;
if (s->pict_type == B_TYPE) {
h->frame_num_offset = (h->slice_num - h->prev_frame_num);
......
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