From 0d2ae49255e8eae8a905d3d8bd31d15ad0480773 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 28 Dec 2004 21:28:44 +0000 Subject: [PATCH] Deal with an unknown/invalid aspect ratio part two. --- src/input/r_mpeg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/input/r_mpeg.h b/src/input/r_mpeg.h index cc19110b7..dda5b01c3 100644 --- a/src/input/r_mpeg.h +++ b/src/input/r_mpeg.h @@ -32,7 +32,7 @@ private: mm_io_c *mm_io; int64_t bytes_processed, size; - int version, width, height; + int version, width, height, dwidth, dheight; double frame_rate, aspect_ratio; public: @@ -58,7 +58,7 @@ struct mpeg_ps_track_t { int64_t first_timecode; - int v_version, v_width, v_height; + int v_version, v_width, v_height, v_dwidth, v_dheight; double v_frame_rate, v_aspect_ratio; unsigned char *raw_seq_hdr; int raw_seq_hdr_size; @@ -67,7 +67,7 @@ struct mpeg_ps_track_t { mpeg_ps_track_t(): ptzr(-1), type(0), fourcc(0), - v_version(0), v_width(0), v_height(0), + v_version(0), v_width(0), v_height(0), v_dwidth(0), v_dheight(0), v_frame_rate(0), v_aspect_ratio(0), raw_seq_hdr(NULL), raw_seq_hdr_size(0), a_channels(0), a_sample_rate(0), a_bits_per_sample(0), a_bsid(0) {