From f929ab0569ff31ed5a59b0b0adb7ce09df3fca39 Mon Sep 17 00:00:00 2001 From: Gabriel Dume Date: Thu, 14 Aug 2014 16:31:24 -0400 Subject: cosmetics: Write NULL pointer equality checks more compactly Signed-off-by: Diego Biurrun --- avconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avconv.c') diff --git a/avconv.c b/avconv.c index 65f33b2d1e..634101a452 100644 --- a/avconv.c +++ b/avconv.c @@ -1363,7 +1363,7 @@ static int process_input_packet(InputStream *ist, const AVPacket *pkt) if (ist->next_dts == AV_NOPTS_VALUE) ist->next_dts = ist->last_dts; - if (pkt == NULL) { + if (!pkt) { /* EOF handling */ av_init_packet(&avpkt); avpkt.data = NULL; -- cgit v1.2.3