[FFmpeg-cvslog] DV: check coded_width/height instead of width/height.
Reimar Döffinger
git at videolan.org
Sun Mar 25 12:24:44 CEST 2012
ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Mar 24 23:39:30 2012 +0100| [feda266db5367517c62fdb14b5b281c90fcab89d] | committer: Reimar Döffinger
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 at gmx.de>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=feda266db5367517c62fdb14b5b281c90fcab89d
---
libavcodec/dvdata.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/dvdata.c b/libavcodec/dvdata.c
index 9de1db5..ac63938 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++)
More information about the ffmpeg-cvslog
mailing list