[FFmpeg-cvslog] Fix compilation with --disable-everything.
Carl Eugen Hoyos
git at videolan.org
Thu Jul 10 08:31:32 CEST 2014
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Jul 10 08:26:59 2014 +0200| [a1e3ea475ac3cffa4672877f0cc8c8d48aa99963] | committer: Carl Eugen Hoyos
Fix compilation with --disable-everything.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a1e3ea475ac3cffa4672877f0cc8c8d48aa99963
---
libavcodec/dv_profile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dv_profile.c b/libavcodec/dv_profile.c
index 25c2f55..58ce79f 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;
}
More information about the ffmpeg-cvslog
mailing list