Skip to content
Snippets Groups Projects
Commit c1260659 authored by Karsten Otto's avatar Karsten Otto Committed by Michael Niedermayer
Browse files

aadec: improve eof detection


Remember the end position of audio content in the file and check it during
read_packet. There always seems to be other data beyond it, which could be
misinterpreted as more audio. Also add some extra avio_read error checks,
to bail early in case of a broken/truncated file.

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 3a2d21bc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment