]> git.sesse.net Git - ffmpeg/commitdiff
Fix compilation with --disable-everything.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 10 Jul 2014 06:26:59 +0000 (08:26 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 10 Jul 2014 06:26:59 +0000 (08:26 +0200)
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;
 }