avcodec/aac_adtstoasc: fix ASC passthrough on small frames
authorJames Almer <jamrial@gmail.com>
Tue, 11 Apr 2017 04:03:51 +0000 (01:03 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 20 Apr 2017 02:44:07 +0000 (23:44 -0300)
commit0f05f2c7e67949ce77de3cf7013f7d4da1c3e046
treec746b6f39a4bde4de5daedf46bd63c2086f7aca0
parent88612f8db3b8b0c6e51f9136ec4915f72cbc9a56
avcodec/aac_adtstoasc: fix ASC passthrough on small frames

ASC frames smaller than AAC_ADTS_HEADER_SIZE were being discarded.

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