avformat/dashenc: update stream extradata from packet side data
authorJames Almer <jamrial@gmail.com>
Tue, 30 Jul 2019 18:08:36 +0000 (15:08 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 5 Aug 2019 18:02:50 +0000 (15:02 -0300)
commitd1c81070bce261329b641b648efe42062b699cd3
tree99c628eb89362dbcc2f5f51f34e00292f166d797
parent5152602ba8f49ceb58aa89fcad8e6aaa9a6a27ff
avformat/dashenc: update stream extradata from packet side data

codecpar->extradata is not going to change between packets. New extradata
is instead propagated using packet side data.

Use ff_alloc_extradata() as well.

Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit ce6a98e8306105b07bd7653f4f10c23fd75914ee)
libavformat/dashenc.c