mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
Avoid a compiler warning about ambiguous "if ... else".
This commit is contained in:
parent
ce949d1d2b
commit
2a5a95938a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user