Browse Source

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

Originally committed as revision 25269 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Niobos Carl Eugen Hoyos 15 years ago
parent
commit
e2f0214a0b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dvdata.c

+ 1
- 1
libavcodec/dvdata.c View File

@@ -255,7 +255,7 @@ const DVprofile* ff_dv_frame_profile(const DVprofile *sys,
int stype = frame[80*5 + 48 + 3] & 0x1f; int stype = frame[80*5 + 48 + 3] & 0x1f;


/* 576i50 25Mbps 4:1:1 is a special case */ /* 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]; return &dv_profiles[2];
} }




Loading…
Cancel
Save