bnnm
c1c1cd1ba6
init_ffmpeg accepts any generic header; init_seek edge cases (for XMA)
2016-12-18 13:10:08 +01:00
bnnm
76dc236b41
Added .pos support for .vgmstream (FFmpeg) files not directly supported
...
The format is LE 4+4 [loop_start loop_end], or LE 4+4+4 [loop_start
loop_end num_samples] when FFmpeg can't determine correctly num_samples
2016-12-11 13:05:54 +01:00
bnnm
cdfd47eb7b
FFmpeg: expose block/frame size, rename totalFrames for clarity
2016-12-10 15:53:29 +01:00
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