diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-12-30 13:08:21 -0800 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-12-31 14:19:09 -0500 |
commit | 464f26889c99f194d112fcf1197795d341fad38b (patch) | |
tree | 081529cdfc90718f8d26563cedfb8ab9ae031cb6 /libavformat/cafdec.c | |
parent | 481a7ff5bd44dc63fcdabe34474a921269c97f99 (diff) | |
download | ffmpeg-464f26889c99f194d112fcf1197795d341fad38b.tar.gz |
mpegaudiodec: fix seeking.
The safe bitstream reader does not allow using skip_bits_long() to seek to a
point before the start of the buffer, which was needed by the mp3 decoder.
This change instead calculates the start point of the first valid granule and
skips to that position.
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavformat/cafdec.c')
0 files changed, 0 insertions, 0 deletions