mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-10 01:54:11 +00:00
avidemux: fix typo in header validation check
This commit is contained in:
parent
fb04dd0f19
commit
d654eeb6de
1 changed files with 2 additions and 2 deletions
|
@ -1991,8 +1991,8 @@ gst_avi_demux_parse_stream (GstAviDemux * avi, GstBuffer * buf)
|
|||
GST_DEBUG_OBJECT (element, "marking audio as VBR:%d, res %d",
|
||||
stream->is_vbr, res);
|
||||
/* we need these or we have no way to come up with timestamps */
|
||||
if ((stream->is_vbr && !stream->strf.auds->av_bps) ||
|
||||
(!stream->is_vbr && (!stream->strh->scale ||
|
||||
if ((!stream->is_vbr && !stream->strf.auds->av_bps) ||
|
||||
(stream->is_vbr && (!stream->strh->scale ||
|
||||
!stream->strh->rate))) {
|
||||
GST_WARNING_OBJECT (element,
|
||||
"invalid audio header, ignoring stream");
|
||||
|
|
Loading…
Reference in a new issue