From 5baf74fa24493298fc83336da77f400ddac29d55 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 24 Feb 2015 11:56:48 +0100 Subject: 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). --- demux/demux_mkv.c | 2 -- demux/stheader.h | 1 - 2 files changed, 3 deletions(-) (limited to 'demux') diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c index 2c1f34d70c..f1c03285f2 100644 --- a/demux/demux_mkv.c +++ b/demux/demux_mkv.c @@ -1282,8 +1282,6 @@ static int demux_mkv_open_video(demuxer_t *demuxer, mkv_track_t *track) return 1; } - sh_v->coded_width = track->v_width; - sh_v->coded_height = track->v_height; sh_v->extradata = talloc_memdup(sh_v, extradata, extradata_size); sh_v->extradata_len = extradata_size; if (!sh->codec) { diff --git a/demux/stheader.h b/demux/stheader.h index 2b5b43702f..d0f409742f 100644 --- a/demux/stheader.h +++ b/demux/stheader.h @@ -83,7 +83,6 @@ typedef struct sh_video { float aspect; // aspect ratio stored in the file (for prescaling) int bitrate; // compressed bits/sec int bits_per_coded_sample; - int coded_width, coded_height; unsigned char *extradata; int extradata_len; int disp_w, disp_h; // display size -- cgit v1.2.3