Commit f2e7990f authored by michaelni's avatar michaelni

workaround dropable p frame after first frame bug


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1424 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent edb90a86
......@@ -1093,6 +1093,10 @@ static int svq1_decode_frame(AVCodecContext *avctx,
return result;
}
//FIXME this avoids some confusion for "B frames" without 2 references
//this should be removed after libavcodec can handle more flaxible picture types & ordering
if(s->pict_type==B_TYPE && s->last_picture.data[0]==NULL) return buf_size;
if(avctx->hurry_up && s->pict_type==B_TYPE) return buf_size;
if(MPV_frame_start(s, avctx) < 0)
......
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