1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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

not an avi ...)

Originally committed as revision 13428 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-05-26 11:32:42 +00:00
parent 0bf017c48b
commit bc545029bf

View File

@ -5751,6 +5751,8 @@ static int decode_user_data(MpegEncContext *s, GetBitContext *gb){
s->divx_version= ver;
s->divx_build= build;
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 */