From fd7dde404d95f9c7f703917578111317d4ab85cd Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 25 Sep 2014 00:59:15 +0200 Subject: video: remove BITMAPINFOHEADER from internal demuxer API MPlayer traditionally did this because it made sense: the most important formats (avi, asf/wmv) used Microsoft formats, and many important decoders (win32 binary codecs) also did. But the world has changed, and I've always wanted to get rid of this thing from the codebase. demux_mkv.c internally still uses it, because, guess what, Matroska has a VfW muxing mode, which uses these data structures natively. --- demux/stheader.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'demux/stheader.h') diff --git a/demux/stheader.h b/demux/stheader.h index a2740f0189..a368074d99 100644 --- a/demux/stheader.h +++ b/demux/stheader.h @@ -82,10 +82,13 @@ typedef struct sh_video { float fps; // frames per second (set only if constant fps) 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 int rotate; // intended display rotation, in degrees, [0, 359] int stereo_mode; // mp_stereo3d_mode (0 if none/unknown) - MP_BITMAPINFOHEADER *bih; } sh_video_t; typedef struct sh_sub { -- cgit v1.2.3