mpegaudiodec: skip all channels when skipping granules
authorJustin Ruggles <justin.ruggles@gmail.com>
Sun, 1 Jan 2012 00:24:30 +0000 (19:24 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Mon, 2 Jan 2012 03:37:50 +0000 (22:37 -0500)
commit03fafdec82a4dbe0cf1a7d4d3bb59c42d5019941
tree02c6314f81041ae6e63b6555ffcc1793154a3d8c
parentaf9240cd3c6fb257ac2d0843334145f022ef5959
mpegaudiodec: skip all channels when skipping granules

Also fix calculation of new position when switching buffers.
This fixes "overread" error messages when seeking.
libavcodec/mpegaudiodec.c