Patch by Andrew Savchenko, Bircoph at list dot ru
Originally committed as revision 15772 to svn://svn.ffmpeg.org/ffmpeg/trunk
s->divx_version= ver;
s->divx_build= build;
s->divx_packed= e==3 && last=='p';
- if(s->divx_packed)
+ if(s->divx_packed && !s->showed_packed_warning) {
av_log(s->avctx, AV_LOG_WARNING, "Invalid and inefficient vfw-avi packed B frames detected\n");
+ s->showed_packed_warning=1;
+ }
}
/* ffmpeg detection */
/* H.263 specific */
int gob_index;
int obmc; ///< overlapped block motion compensation
+ int showed_packed_warning; ///< flag for having shown the warning about divxs invalid b frames
/* H.263+ specific */
int umvplus; ///< == H263+ && unrestricted_mv