mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
e6cad01122
commit
2cce1d8528
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue