Browse Source

DV: check coded_width/height instead of width/height.

This makes the workaround also work with lowres.
Fixes issue #633.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
tags/n0.11
Reimar Döffinger 14 years ago
parent
commit
feda266db5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dvdata.c

+ 1
- 1
libavcodec/dvdata.c View File

@@ -300,7 +300,7 @@ const DVprofile* avpriv_dv_frame_profile2(AVCodecContext* codec, const DVprofile
return &dv_profiles[2];
}

if(stype == 0 && codec && codec->codec_tag==AV_RL32("dvsd") && codec->width==720 && codec->height==576)
if(stype == 0 && codec && codec->codec_tag==AV_RL32("dvsd") && codec->coded_width==720 && codec->coded_height==576)
return &dv_profiles[1];

for (i = 0; i < FF_ARRAY_ELEMS(dv_profiles); i++)


Loading…
Cancel
Save