mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
avformat/matroskaenc: Fix use of uninitialized value
Regression since 67eea6cf026a70940ea402d54685d67c660b49cd. 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);
|
||||
ret = 0;
|
||||
fail:
|
||||
ffio_reset_dyn_buf(mkv->tmp_bc);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user