mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
Revert "aacparse: relax the detection of ADTS"
This was pushed by mistake along with the V4L2 fix.
This reverts commit 8eb4b032be
.
This commit is contained in:
parent
70be4fa24a
commit
2ad1f20e7b
1 changed files with 1 additions and 1 deletions
|
@ -806,7 +806,7 @@ gst_aac_parse_detect_stream (GstAacParse * aacparse,
|
|||
gst_aac_parse_parse_adts_header (aacparse, data, &rate, &channels,
|
||||
&aacparse->object_type, &aacparse->mpegversion);
|
||||
|
||||
if (!framesize) {
|
||||
if (!channels || !framesize) {
|
||||
GST_DEBUG_OBJECT (aacparse, "impossible ADTS configuration");
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue