mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 01:42:20 +00:00
Fix compilation with --disable-everything.
This commit is contained in:
parent
2571e8fe37
commit
a1e3ea475a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user