You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02: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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user