avformat/asfenc: Avoid allocations when writing metadata
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 5 Sep 2021 19:29:57 +0000 (21:29 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 3 Oct 2021 18:50:50 +0000 (20:50 +0200)
commitea7a81bc1dfa0ecb0ed3ba35fbe0bcfd1d132804
tree7724d5731a43693dc8ccb0fe98d2794353daadc6
parentc128bffa05a9ed39685edb6fc7eb41d596212531
avformat/asfenc: Avoid allocations when writing metadata

Also improves the error check for avio_open_dyn_buf().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavformat/asfenc.c