Commit Graph

8 Commits

Author SHA1 Message Date
bnnm
0faa3286aa Don't manually check framesRead and rely on FFmpeg's EOFs
FFmpeg's duration isn't always reliable (ie. bad headers) and the
decoder detects EOFs already, extra decoding attempts should be ignored.
This way vgmstream can use other values without modifying
ffmpeg_codec_data's state.
2016-12-03 11:42:38 +01:00
bnnm
80c8791288 Improve init_seek: don't add existing index, find packet size (for M4A) 2016-12-03 01:56:27 +01:00
bnnm
8cdce2c196 Check on init if seek to 0 works (buggier demuxers may fail) 2016-12-02 22:33:51 +01:00
bnnm
609bfb5d61 Minor fixes and cleanup 2016-12-01 23:49:00 +01:00
bnnm
47be992b4b Fix for demuxers that can't seek to 0 (FFmpeg bugs, see init_seek) 2016-12-01 20:11:17 +01:00
bnnm
75dd0d0d8b FFmpeg fixes
- add samplesPerBlock to FFmpeg struct (for clarity)
- delete functions defs already in meta.h
- comments as I tried to understand the code better
2016-11-26 13:43:59 +01:00
Christopher Snowhill
8337395ba9 Fix bitrate reporting for FFmpeg. 2016-08-10 18:30:48 -07:00
Chris Moeller
cbe9bc3d6b Added FFmpeg support, and fixed a long standing issue with broken loops locking up the decoder. 2016-07-16 23:02:27 -07:00