summaryrefslogtreecommitdiff
path: root/libavcodec/dv_profile.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-07-10 08:26:59 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-07-10 08:26:59 +0200
commita1e3ea475ac3cffa4672877f0cc8c8d48aa99963 (patch)
tree4e63bf7d69850643ba4c59578d3275ac420e8a96 /libavcodec/dv_profile.c
parent2571e8fe372b1b8cec4b21ef7207239fb41072ca (diff)
Fix compilation with --disable-everything.
Diffstat (limited to 'libavcodec/dv_profile.c')
-rw-r--r--libavcodec/dv_profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv_profile.c b/libavcodec/dv_profile.c
index 25c2f550ff..58ce79f269 100644
--- a/libavcodec/dv_profile.c
+++ b/libavcodec/dv_profile.c
@@ -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;
}