OSDN Git Service

avformat/aacdec: add a custom read_packet function
authorJames Almer <jamrial@gmail.com>
Fri, 2 Jun 2017 23:34:24 +0000 (20:34 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 4 Jun 2017 14:52:02 +0000 (11:52 -0300)
commit3d4026325381c1066d771bcb83e024c92ea7e189
tree3d19f6b8b8f24df2254c72db1b49efa7cf645c7d
parentfab1863917b88bae7eb5c823927dc8ddd9ab6217
avformat/aacdec: add a custom read_packet function

Atempt to read and propagate only full ADTS frames and not other data,
like id3v1 or APETags at the end of the file.

Fixes ticket #6437.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/aacdec.c