aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/crc.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-04-21 22:48:34 +0300
committerMartin Storsjö <martin@martin.st>2012-04-23 00:02:49 +0300
commit269cb6751b3fd2163253f9a8ea0d193121858677 (patch)
treeff2d532b27f7ab960fefb1d664eaf052a6188935 /libavutil/crc.h
parent9b75ae05cf1554238bb103b3c3304dcba0bbc6cf (diff)
downloadffmpeg-269cb6751b3fd2163253f9a8ea0d193121858677.tar.gz
mpegts: Try seeking back even for nonseekable protocols
The mpegts demuxer reads 5 KB at startup just for discovering the packet size. Since the default avio buffer size is 32 KB, the seek back to the start will in most cases be within the avio buffer, and will in most cases succeed even if the actual protocol isn't seekable. This makes the demuxer startup faster/with less data when reading data from a non-seekable input, by not skipping the first few KB. If it fails, don't warn if the protocol isn't seekable, making it behave as before in the failure case. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/crc.h')
0 files changed, 0 insertions, 0 deletions