History

avcodec/ttmlenc: Remove always-true check

Andreas Rheinhardt committed 2 years ago

Commit ed9de6d1 parent 253a8341 file · +2 −3Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/ttmlenc.c+2−3
@@ -351,9 +351,8 @@ static int ttml_write_header_content(AVCodecContext *avctx) · 350 unmodified lines
351351 memcpy(avctx->extradata, TTMLENC_EXTRADATA_SIGNATURE,
352352 TTMLENC_EXTRADATA_SIGNATURE_SIZE);
353353
354− if (additional_extradata_size)
355− memcpy(avctx->extradata + TTMLENC_EXTRADATA_SIGNATURE_SIZE,
356− s->buffer.str, additional_extradata_size);
354+ memcpy(avctx->extradata + TTMLENC_EXTRADATA_SIGNATURE_SIZE,
355+ s->buffer.str, additional_extradata_size);
357356
358357 ret = 0;
359358 fail:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t