Commit 1e75501c authored by René Stadler's avatar René Stadler
Browse files

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.
parent 725968c6
......@@ -1291,7 +1291,7 @@ ac3_type_find (GstTypeFind * tf, gpointer unused)
}
}
}
} else {
} else if (bsid <= 16 && bsid > 10) {
/* eac3 */
DataScanCtx c_next = c;
guint frame_size;
......@@ -1317,6 +1317,8 @@ ac3_type_find (GstTypeFind * tf, gpointer unused)
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment