[FFmpeg-cvslog] r25269 - trunk/libavcodec/dvdata.c
cehoyos
subversion
Thu Sep 30 14:26:42 CEST 2010
Author: cehoyos
Date: Thu Sep 30 14:26:42 2010
New Revision: 25269
Log:
Fix a yuv420p sample that was incorrectly detected as yuv411p
(576i50 25Mbps 4:1:1 special case was wrong).
Fixes issue2211
Patch by Niobos, niobos dest-unreach be
Modified:
trunk/libavcodec/dvdata.c
Modified: trunk/libavcodec/dvdata.c
==============================================================================
--- trunk/libavcodec/dvdata.c Thu Sep 30 12:55:08 2010 (r25268)
+++ trunk/libavcodec/dvdata.c Thu Sep 30 14:26:42 2010 (r25269)
@@ -255,7 +255,7 @@ const DVprofile* ff_dv_frame_profile(con
int stype = frame[80*5 + 48 + 3] & 0x1f;
/* 576i50 25Mbps 4:1:1 is a special case */
- if (dsf == 1 && stype == 0 && frame[5] & 0x07) {
+ if (dsf == 1 && stype == 0 && frame[4] & 0x07 /* the APT field */) {
return &dv_profiles[2];
}
More information about the ffmpeg-cvslog
mailing list