1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

avcodec/extract_extradata: Reindent after the last commit

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-09-07 15:01:23 +02:00
parent 520d9a8de2
commit 13d72cecd5

View File

@ -275,17 +275,17 @@ static int extract_extradata_mpeg12(AVBSFContext *ctx, AVPacket *pkt,
if (state == 0x1B3) if (state == 0x1B3)
found = 1; found = 1;
else if (found && state != 0x1B5 && state < 0x200 && state >= 0x100) { else if (found && state != 0x1B5 && state < 0x200 && state >= 0x100) {
*size = i - 3; *size = i - 3;
*data = av_malloc(*size + AV_INPUT_BUFFER_PADDING_SIZE); *data = av_malloc(*size + AV_INPUT_BUFFER_PADDING_SIZE);
if (!*data) if (!*data)
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
memcpy(*data, pkt->data, *size); memcpy(*data, pkt->data, *size);
if (s->remove) { if (s->remove) {
pkt->data += *size; pkt->data += *size;
pkt->size -= *size; pkt->size -= *size;
} }
break; break;
} }
} }