avcodec/ass: assume raw=0 in ff_ass_add_rect_bprint
[ffmpeg.git] / libavcodec / webvttdec.c
index 8ca017b..66f5071 100644 (file)
@@ -84,7 +84,7 @@ static int webvtt_decode_frame(AVCodecContext *avctx,
         int ts_start     = av_rescale_q(avpkt->pts, avctx->time_base, (AVRational){1,100});
         int ts_duration  = avpkt->duration != -1 ?
                            av_rescale_q(avpkt->duration, avctx->time_base, (AVRational){1,100}) : -1;
-        ret = ff_ass_add_rect_bprint(sub, &buf, ts_start, ts_duration, 0);
+        ret = ff_ass_add_rect_bprint(sub, &buf, ts_start, ts_duration);
     }
     av_bprint_finalize(&buf, NULL);
     if (ret < 0)