avcodec/aac_adtstoasc: propagate new extradata using packet side data
authorJames Almer <jamrial@gmail.com>
Mon, 10 Apr 2017 16:36:19 +0000 (13:36 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 24 May 2017 23:28:00 +0000 (20:28 -0300)
commitf63c3516577d605e51cf16358cbdfa0bc97565d8
tree008a031e9a2b1531ccbc0c32db4bfb5e6f2e1f11
parent210388a1979d70d024ef4ebf1d97df56ce56b0c1
avcodec/aac_adtstoasc: propagate new extradata using packet side data

This removes the current API violating behavior of overwritting the stream's
extradata during packet filtering, something that should not happen after the
av_bsf_init() call.

The bitstream filter generated extradata is no longer available during
write_header(), and as such not usable with non seekable output. The FATE
tests are updated to reflect this.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/aac_adtstoasc_bsf.c
tests/fate/aac.mak
tests/fate/avformat.mak
tests/ref/fate/aac-autobsf-adtstoasc [new file with mode: 0644]