mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
typefind: ignore AC-3 BSIDs 9, 10 and >16
These are reserved for future extensions which will not be backwards compatible to E-AC-3.
This commit is contained in:
parent
725968c612
commit
1e75501c10
1 changed files with 3 additions and 1 deletions
|
@ -1291,7 +1291,7 @@ ac3_type_find (GstTypeFind * tf, gpointer unused)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else if (bsid <= 16 && bsid > 10) {
|
||||||
/* eac3 */
|
/* eac3 */
|
||||||
DataScanCtx c_next = c;
|
DataScanCtx c_next = c;
|
||||||
guint frame_size;
|
guint frame_size;
|
||||||
|
@ -1317,6 +1317,8 @@ ac3_type_find (GstTypeFind * tf, gpointer unused)
|
||||||
GST_LOG ("no second E-AC3 frame found, false sync");
|
GST_LOG ("no second E-AC3 frame found, false sync");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
GST_LOG ("invalid AC3 BSID: %u", bsid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
data_scan_ctx_advance (tf, &c, 1);
|
data_scan_ctx_advance (tf, &c, 1);
|
||||||
|
|
Loading…
Reference in a new issue