[FFmpeg-devel] [PATCH v3 3/3] aadec: fix seeking in mp3 content
Michael Niedermayer
michael at niedermayer.cc
Mon Jul 2 11:59:01 EEST 2018
On Thu, Jun 21, 2018 at 06:58:26PM +0200, Karsten Otto wrote:
> MP3 frames may not be aligned to aa chunk boundaries. After seeking,
> scan for the next valid frame header. Then truncate the packet, and
> also adjust timestamp information accordingly.
> ---
> libavformat/aadec.c | 33 ++++++++++++++++++++++++++++-----
> 1 file changed, 28 insertions(+), 5 deletions(-)
Please see AVSTREAM_PARSE_TIMESTAMPS
This codec specific code in demuxers should not be needed
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180702/ecea9101/attachment.sig>
More information about the ffmpeg-devel
mailing list