diff options
author | Anton Khirnov <anton@khirnov.net> | 2015-02-04 12:37:01 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-10 21:43:44 +0100 |
commit | 1509c018bd5b054a2354e20021ccbac9c934d213 (patch) | |
tree | 3fd78def01951d1a4bb81cb5d062beacc2378cb2 /libavformat/dv.c | |
parent | 6a5b8ca4329039fad44ad50b6496948f4bfacb4c (diff) | |
download | ffmpeg-1509c018bd5b054a2354e20021ccbac9c934d213.tar.gz |
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.
Diffstat (limited to 'libavformat/dv.c')
0 files changed, 0 insertions, 0 deletions