]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dv_profile.c
Merge commit '73bb8f61d48dbf7237df2e9cacd037f12b84b00a'
[ffmpeg] / libavcodec / dv_profile.c
index 25c2f550ff371ea2a13fb6589a6e3c42407a34ed..58ce79f269f11c9d42b3026c2aab3b2807f05233 100644 (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;
 }