mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 14:15:29 +01:00
cosmetics: Write NULL pointer equality checks more compactly
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
committed by
Diego Biurrun
parent
efd26bedec
commit
f929ab0569
@@ -1715,7 +1715,7 @@ static int handle_packet(MpegTSContext *ts, const uint8_t *packet)
|
||||
return 0;
|
||||
is_start = packet[1] & 0x40;
|
||||
tss = ts->pids[pid];
|
||||
if (ts->auto_guess && tss == NULL && is_start) {
|
||||
if (ts->auto_guess && !tss && is_start) {
|
||||
add_pes_stream(ts, pid, -1);
|
||||
tss = ts->pids[pid];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user