Fix compilation with --disable-everything.

This commit is contained in:
Carl Eugen Hoyos 2014-07-10 08:26:59 +02:00
parent 2571e8fe37
commit a1e3ea475a

View File

@ -297,11 +297,11 @@ const AVDVProfile* avpriv_dv_frame_profile2(AVCodecContext* codec, const AVDVPro
/* check if old sys matches and assumes corrupted input */
if (sys && buf_size == sys->frame_size)
return sys;
#endif
/* hack for trac issue #217, dv files created with QuickTime 3 */
if ((frame[3] & 0x7f) == 0x3f && frame[80 * 5 + 48 + 3] == 0xff)
return &dv_profiles[dsf];
#endif
return NULL;
}