aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/dvdata.c
diff options
context:
space:
mode:
authorReimar Döffinger2012-03-24 23:39:30 +0100
committerReimar Döffinger2012-03-25 12:23:44 +0200
commitfeda266db5367517c62fdb14b5b281c90fcab89d (patch)
treedd1161464a6b7be432539b0078c130ff29c5782f /libavcodec/dvdata.c
parent535eed93018fd73400d16892e289e89cbfe765bf (diff)
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>
Diffstat (limited to 'libavcodec/dvdata.c')
-rw-r--r--libavcodec/dvdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dvdata.c b/libavcodec/dvdata.c
index 9de1db5270..ac639387f1 100644
--- a/libavcodec/dvdata.c
+++ b/libavcodec/dvdata.c
@@ -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++)