Vitor <[EMAIL PROTECTED]> added the comment:

Mike Melanson wrote:
> A better approach would be to simply qualify the file after the 8-byte header
> check. Create the streams as the first video and audio packets are encountered
> in the read_packet phase.

I like this idea. Not only it'll fix this problem, but also will remove the need
of backwards seeking (that is pipe unfriendly) and may avoid a crash if the
first audio/video packet happens after RoQ_CHUNKS_TO_SCAN packets.

-Vitor

----------
nosy: +Vitor1001

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue553>
______________________________________________________

Reply via email to