Commit 9c3a151b authored by michael's avatar michael

Warn about packed B frames. (especially usefull if the file in question is

not an avi ...)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13428 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4ec94507
...@@ -5751,6 +5751,8 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){ ...@@ -5751,6 +5751,8 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){
s->divx_version= ver; s->divx_version= ver;
s->divx_build= build; s->divx_build= build;
s->divx_packed= e==3 && last=='p'; s->divx_packed= e==3 && last=='p';
if(s->divx_packed)
av_log(s->avctx, AV_LOG_WARNING, "Invalid and inefficient vfw-avi packed B frames detected\n");
} }
/* ffmpeg detection */ /* ffmpeg detection */
......
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