avformat/matroskaenc: Check functions that can fail
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 1 Jan 2020 00:58:23 +0000 (01:58 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 5 Feb 2020 16:41:59 +0000 (17:41 +0100)
commitb4f300f8ea209b861865ef495b298a88b48f3913
tree6561b1de63a0e8c6aecca186d740eee059ea1906
parente934194b6a4159b7960cabefb0dd8b998c1961e8
avformat/matroskaenc: Check functions that can fail

Sometimes it has not been checked whether opening the dynamic buffer for
writing Tags fails; this might have led to segfaults.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/matroskaenc.c