avidemux: fix typo in header validation check

This commit is contained in:
Mark Nauwelaerts 2010-03-18 11:33:59 +01:00
parent 7d32f46b7a
commit abd9c0c657

View file

@ -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;