From 2a5a95938a2b7c3f2b098202c7e245359aec3004 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 25 Oct 2009 19:59:52 +0100 Subject: [PATCH] Avoid a compiler warning about ambiguous "if ... else". --- src/output/p_mpeg1_2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output/p_mpeg1_2.cpp b/src/output/p_mpeg1_2.cpp index a3d8a692b..934a01380 100644 --- a/src/output/p_mpeg1_2.cpp +++ b/src/output/p_mpeg1_2.cpp @@ -40,11 +40,12 @@ mpeg1_2_video_packetizer_c(generic_reader_c *p_reader, { set_codec_id((boost::format("V_MPEG%1%") % version).str()); - if (!display_dimensions_or_aspect_ratio_set()) + if (!display_dimensions_or_aspect_ratio_set()) { if ((0 < dwidth) && (0 < dheight)) set_video_display_dimensions(dwidth, dheight, PARAMETER_SOURCE_BITSTREAM); else m_aspect_ratio_extracted = false; + } timecode_factory_application_mode = TFA_SHORT_QUEUEING;