Improve AVFoundation importer.

This commit is contained in:
Damiano Galassi committed 2019-03-16 12:01:48 +01:00
1 parent ddac18c086
commit 35cfdac88b
2 files changed
+155 -45

No files matched your search

+5
View File
@@ -1026,6 +1026,11 @@ int analyze_EAC3(void **context, uint8_t *frame, uint32_t size)
if (!*context) {
return 1;
}
if (size == 0) {
return 0;
}
info = (struct eac3_info *)*context;
b.SetBytes(frame, size);