Commit d18951c2 authored by John Stebbins's avatar John Stebbins

stream: fix size of subtitle extradata

parent f97b0905
......@@ -5542,7 +5542,7 @@ static void add_ffmpeg_subtitle( hb_title_t *title, hb_stream_t *stream, int id
codecpar->extradata, codecpar->extradata_size);
subtitle->extradata[codecpar->extradata_size] = 0;
subtitle->extradata_size = codecpar->extradata_size;
subtitle->extradata_size = codecpar->extradata_size + 1;
if (st->disposition & AV_DISPOSITION_DEFAULT)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment