summaryrefslogtreecommitdiff
path: root/libavcodec/webvttdec.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-10-19 21:03:57 +0200
committerClément Bœsch <u@pkh.me>2014-10-19 23:24:34 +0200
commit3d258696057d599d0d9c3b8f73c9a55ec3355782 (patch)
treea732d636796816cc66e96124b7ae3bfce16c0bb2 /libavcodec/webvttdec.c
parent65639e6bef8046b0ee157a11511ac6f9e8114776 (diff)
avcodec/ass: assume raw=0 in ff_ass_add_rect_bprint
Diffstat (limited to 'libavcodec/webvttdec.c')
-rw-r--r--libavcodec/webvttdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c
index 8ca017bee7..66f5071ebe 100644
--- a/libavcodec/webvttdec.c
+++ b/libavcodec/webvttdec.c
@@ -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)