X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmpsubdec.c;h=c5a50ecb5cfd1be59de0437ccf5165df3d9ec0d3;hb=b84232694ef0c6897e82b52326c9ea4027c69ec4;hp=7c26d4f42ceac5b98baa0f33e9888eeac5c9d31f;hpb=10ea06b3bb863b8dca51f65c4b725eeba8557f12;p=ffmpeg diff --git a/libavformat/mpsubdec.c b/libavformat/mpsubdec.c index 7c26d4f42ce..c5a50ecb5cf 100644 --- a/libavformat/mpsubdec.c +++ b/libavformat/mpsubdec.c @@ -103,7 +103,7 @@ static int mpsub_read_header(AVFormatContext *s) st->codec->codec_type = AVMEDIA_TYPE_SUBTITLE; st->codec->codec_id = AV_CODEC_ID_TEXT; - ff_subtitles_queue_finalize(&mpsub->q); + ff_subtitles_queue_finalize(s, &mpsub->q); end: av_bprint_finalize(&buf, NULL);