diff options
author | John Stebbins <[email protected]> | 2019-08-26 16:43:38 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2019-08-26 16:43:38 -0700 |
commit | d18951c264350f59edda84305fed9d0ecd4e1496 (patch) | |
tree | 22d37e6adb5d18a7a32325e352b1aad747893aec /libhb | |
parent | f97b0905be7da3a1e76c81910b4c60840b8e9fa8 (diff) |
stream: fix size of subtitle extradata
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c index a4d7d2355..b3f8d3076 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -5542,7 +5542,7 @@ static void add_ffmpeg_subtitle( hb_title_t *title, hb_stream_t *stream, int id memcpy(subtitle->extradata, 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) |