diff options
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r-- | video/decode/vd_lavc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 1982656f75..9e0a778990 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -402,11 +402,6 @@ static void init_avctx(struct dec_video *vd, const char *decoder, avctx->coded_height = sh->video->disp_h; avctx->bits_per_coded_sample = sh->video->bits_per_coded_sample; - if (sh->video->coded_width && sh->video->coded_height) { - avctx->coded_width = sh->video->coded_width; - avctx->coded_height = sh->video->coded_height; - } - mp_lavc_set_extradata(avctx, sh->video->extradata, sh->video->extradata_len); if (mp_rawvideo) { |