mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
avidemux: fix typo in header validation check
This commit is contained in:
parent
7d32f46b7a
commit
abd9c0c657
1 changed files with 1 additions and 1 deletions
|
@ -1995,7 +1995,7 @@ gst_avi_demux_parse_stream (GstAviDemux * avi, GstBuffer * buf)
|
|||
/* 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 ||
|
||||
stream->strh->rate))) {
|
||||
!stream->strh->rate))) {
|
||||
GST_WARNING_OBJECT (element,
|
||||
"invalid audio header, ignoring stream");
|
||||
goto fail;
|
||||
|
|
Loading…
Reference in a new issue