projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
725968c
)
typefind: ignore AC-3 BSIDs 9, 10 and >16
author
René Stadler
<rene.stadler@nokia.com>
Fri, 3 Dec 2010 15:33:40 +0000
(17:33 +0200)
committer
René Stadler
<rene.stadler@nokia.com>
Tue, 7 Dec 2010 19:28:20 +0000
(21:28 +0200)
These are reserved for future extensions which will not be backwards
compatible to E-AC-3.
gst/typefind/gsttypefindfunctions.c
patch
|
blob
|
history
diff --git
a/gst/typefind/gsttypefindfunctions.c
b/gst/typefind/gsttypefindfunctions.c
index 84644ca0d8b6389967f27b791c1ca0e58da1e68a..3b556824a9467cc0675ce231491ae0fbfc6ae503 100644
(file)
--- a/
gst/typefind/gsttypefindfunctions.c
+++ b/
gst/typefind/gsttypefindfunctions.c
@@
-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);