avformat/matroskaenc: Fix use of uninitialized value

Regression since 67eea6cf02.
Affects only WebVTT when muxing WebM. (This is covered
by the webm-webvtt-remux FATE test which fails for several
FATE boxes on fate-ffmpeg.org.)

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-06-26 06:12:32 +02:00
parent e6cad01122
commit 2cce1d8528
1 changed files with 1 additions and 0 deletions

View File

@ -1914,6 +1914,7 @@ static int mkv_write_track(AVFormatContext *s, MatroskaMuxContext *mkv,
} }
end_ebml_master(pb, track_master); end_ebml_master(pb, track_master);
ret = 0;
fail: fail:
ffio_reset_dyn_buf(mkv->tmp_bc); ffio_reset_dyn_buf(mkv->tmp_bc);