summaryrefslogtreecommitdiff
path: root/libavcodec/srtdec.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2014-10-19 21:19:07 +0200
committerClément Bœsch <u@pkh.me>2014-10-19 23:24:34 +0200
commitc669af0f248e25781a2a12bd96bf9896b1c4484c (patch)
tree8afc25fae705dd277a02f5e3866e8dfbbfe48757 /libavcodec/srtdec.c
parent3d258696057d599d0d9c3b8f73c9a55ec3355782 (diff)
downloadffmpeg-c669af0f248e25781a2a12bd96bf9896b1c4484c.tar.gz
avcodec/ass: add ASS trailing \r\n in one single place
Diffstat (limited to 'libavcodec/srtdec.c')
-rw-r--r--libavcodec/srtdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/srtdec.c b/libavcodec/srtdec.c
index 54abe5dd39..6d0c9bb05e 100644
--- a/libavcodec/srtdec.c
+++ b/libavcodec/srtdec.c
@@ -183,7 +183,6 @@ static void srt_to_ass(AVCodecContext *avctx, AVBPrint *dst,
dst->len -= 2;
dst->str[dst->len] = 0;
rstrip_spaces_buf(dst);
- av_bprintf(dst, "\r\n");
}
static int srt_decode_frame(AVCodecContext *avctx,