diff options
author | wm4 <wm4@nowhere> | 2015-02-24 11:56:48 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-24 11:56:48 +0100 |
commit | 5baf74fa24493298fc83336da77f400ddac29d55 (patch) | |
tree | 075a544ae6c34e21020eaea96e4dc976437fe936 /video/decode/vd_lavc.c | |
parent | b629da9a40673ccd67bf7661cfdd10c8f79f6eaa (diff) | |
download | mpv-5baf74fa24493298fc83336da77f400ddac29d55.tar.bz2 mpv-5baf74fa24493298fc83336da77f400ddac29d55.tar.xz |
video: remove redundant codec parameters
Remove coded_width and coded_height. This was originally added in commit
fd7dde40, when BITMAPINFOHEADER was killed. The separate fields became
redundant in commit e68f4be1. Remove them (nothing passed to the
decoders actually changes with _this_ commit).
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) { |