[FFmpeg-devel] [PATCH 2/2] ADP demuxer
jamrial at gmail.com
Sun Apr 21 00:42:19 CEST 2013
On 20/04/13 7:35 PM, James Almer wrote:
> Would a check for s->pb->seekable be enough to know if filesize can be determined? Or do you think
> it's better to simply remove the filesize check and always try to fetch 1024 or so bytes?
> Afaik, the only case where that FFMIN check would be useful is when the file is broken (So it discards the
> packet). Otherwise they are always multiple of 1024.
Disregard this. the check for ret != size should be enough to deal with broken files.
Will send an updated patch in a moment.
More information about the ffmpeg-devel