mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/ttmlenc: Remove always-true check
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
253a8340f5
commit
ed9de6d2d8
@ -351,9 +351,8 @@ static int ttml_write_header_content(AVCodecContext *avctx)
|
||||
memcpy(avctx->extradata, TTMLENC_EXTRADATA_SIGNATURE,
|
||||
TTMLENC_EXTRADATA_SIGNATURE_SIZE);
|
||||
|
||||
if (additional_extradata_size)
|
||||
memcpy(avctx->extradata + TTMLENC_EXTRADATA_SIGNATURE_SIZE,
|
||||
s->buffer.str, additional_extradata_size);
|
||||
memcpy(avctx->extradata + TTMLENC_EXTRADATA_SIGNATURE_SIZE,
|
||||
s->buffer.str, additional_extradata_size);
|
||||
|
||||
ret = 0;
|
||||
fail:
|
||||
|
Loading…
Reference in New Issue
Block a user