diff options
Diffstat (limited to 'src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp')
-rw-r--r-- | src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp b/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp index 45c9e9a79..8048f043d 100644 --- a/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp +++ b/src/filters/parser/BaseSplitter/BaseSplitterFileEx.cpp @@ -629,9 +629,9 @@ bool CBaseSplitterFileEx::Read(ac3hdr& h, int len, CMediaType* pmt) /* Enhanced AC-3 */
Seek(pos);
h.frame_type = BitRead(2);
- if(h.frame_type == 3)
- return(false);
h.substreamid = BitRead(3);
+ if(h.frame_type || h.substreamid)
+ return(false);
h.frame_size = (BitRead(11) + 1) << 1;
if(h.frame_size < 7)
return(false);
|