Commit 5347de88 authored by Michael Niedermayer's avatar Michael Niedermayer

libavcodec/xsubenc.c: Fix duplicate words

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ad26aa36
...@@ -190,7 +190,7 @@ static int xsub_encode(AVCodecContext *avctx, unsigned char *buf, ...@@ -190,7 +190,7 @@ static int xsub_encode(AVCodecContext *avctx, unsigned char *buf,
h->rects[0]->w, h->rects[0]->h >> 1)) h->rects[0]->w, h->rects[0]->h >> 1))
return -1; return -1;
// Enforce total height to be be multiple of 2 // Enforce total height to be a multiple of 2
if (h->rects[0]->h & 1) { if (h->rects[0]->h & 1) {
put_xsub_rle(&pb, h->rects[0]->w, PADDING_COLOR); put_xsub_rle(&pb, h->rects[0]->w, PADDING_COLOR);
avpriv_align_put_bits(&pb); avpriv_align_put_bits(&pb);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment