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