mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
mpegts: remove uneeded buf_size check
It is already ensured by the loop condition Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
4aa7848eb8
commit
a82e87618f
@ -1107,7 +1107,7 @@ skip:
|
||||
}
|
||||
break;
|
||||
case MPEGTS_PAYLOAD:
|
||||
if (buf_size > 0 && pes->buffer) {
|
||||
if (pes->buffer) {
|
||||
if (pes->data_index > 0 &&
|
||||
pes->data_index + buf_size > pes->total_size) {
|
||||
new_pes_packet(pes, ts->pkt);
|
||||
|
Loading…
Reference in New Issue
Block a user