mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-29 18:53:02 +00:00
mpegts: fix indentation after last commit
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
9ba8debce9
commit
e2752de344
@ -1125,16 +1125,16 @@ skip:
|
|||||||
}
|
}
|
||||||
memcpy(pes->buffer->data + pes->data_index, p, buf_size);
|
memcpy(pes->buffer->data + pes->data_index, p, buf_size);
|
||||||
pes->data_index += buf_size;
|
pes->data_index += buf_size;
|
||||||
/* emit complete packets with known packet size
|
/* emit complete packets with known packet size
|
||||||
* decreases demuxer delay for infrequent packets like subtitles from
|
* decreases demuxer delay for infrequent packets like subtitles from
|
||||||
* a couple of seconds to milliseconds for properly muxed files.
|
* a couple of seconds to milliseconds for properly muxed files.
|
||||||
* total_size is the number of bytes following pes_packet_length
|
* total_size is the number of bytes following pes_packet_length
|
||||||
* in the pes header, i.e. not counting the first PES_START_SIZE bytes */
|
* in the pes header, i.e. not counting the first PES_START_SIZE bytes */
|
||||||
if (!ts->stop_parse && pes->total_size < MAX_PES_PAYLOAD &&
|
if (!ts->stop_parse && pes->total_size < MAX_PES_PAYLOAD &&
|
||||||
pes->pes_header_size + pes->data_index == pes->total_size + PES_START_SIZE) {
|
pes->pes_header_size + pes->data_index == pes->total_size + PES_START_SIZE) {
|
||||||
ts->stop_parse = 1;
|
ts->stop_parse = 1;
|
||||||
new_pes_packet(pes, ts->pkt);
|
new_pes_packet(pes, ts->pkt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
buf_size = 0;
|
buf_size = 0;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user