Changeset 1509c018 in ffmpeg
- Timestamp:
-
Feb 10, 2015, 8:43:44 PM
(10 years ago)
- Author:
- Anton Khirnov <anton@khirnov.net>
- Branches:
- master
- Children:
- 9deaec78, b61170f5
- Parents:
- 6a5b8ca4
- git-author:
- Anton Khirnov <anton@khirnov.net> (02/04/15 11:37:01)
- git-committer:
- Anton Khirnov <anton@khirnov.net> (02/10/15 20:43:44)
- Message:
-
mpegts: relax restrictions on matching the packet start in read_header
analyze() is currently called both when probing and from read_header().
It determines the packet start by looking for the sync byte, followed by
unset Transport Error Indicator and valid adaptation_field_control.
This makes sense to do when probing, but once we already know the format
is MPEG-TS, it is counterproductive to be so strict -- e.g. in some
files the TEI might be set and analyze() might get called with a smaller
buffer than the one used for probing, resulting in a failure.
-
(No files)
-