diff options
Diffstat (limited to 'libavcodec/dvdata.c')
-rw-r--r-- | libavcodec/dvdata.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/dvdata.c b/libavcodec/dvdata.c index b29f5ce53f..f292d4bf19 100644 --- a/libavcodec/dvdata.c +++ b/libavcodec/dvdata.c @@ -287,9 +287,9 @@ const DVprofile* avpriv_dv_codec_profile(AVCodecContext* codec) int i; for (i=0; i<FF_ARRAY_ELEMS(dv_profiles); i++) - if (codec->height == dv_profiles[i].height && - codec->pix_fmt == dv_profiles[i].pix_fmt && - codec->width == dv_profiles[i].width) + if (codec->coded_height == dv_profiles[i].height && + codec->pix_fmt == dv_profiles[i].pix_fmt && + codec->coded_width == dv_profiles[i].width) return &dv_profiles[i]; return NULL; |