From 6e2fdc3eb149403520bd299e3630a655d0aca851 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 6 Feb 2010 00:10:42 +0000 Subject: =?UTF-8?q?Add=20parentheses=20in=20boolean=20expression:=20(A=20&?= =?UTF-8?q?&=20B=20||=20C)=20=3D>=20((A=20&&=20B)=20||=20C),=20fix=20the?= =?UTF-8?q?=20warning:=20ffmpeg.c:=20In=20function=20=E2=80=98output=5Fpac?= =?UTF-8?q?ket=E2=80=99:=20ffmpeg.c:1317:=20warning:=20suggest=20parenthes?= =?UTF-8?q?es=20around=20&&=20within=20||?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 21650 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ffmpeg.c') diff --git a/ffmpeg.c b/ffmpeg.c index cc88dfb..2d0f7f2 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1314,7 +1314,7 @@ static int output_packet(AVInputStream *ist, int ist_index, ist->pts= ist->next_pts; if(avpkt.size && avpkt.size != pkt->size && - (!ist->showed_multi_packet_warning && verbose>0 || verbose>1)){ + ((!ist->showed_multi_packet_warning && verbose>0) || verbose>1)){ fprintf(stderr, "Multiple frames in a packet from stream %d\n", pkt->stream_index); ist->showed_multi_packet_warning=1; } -- cgit v1.1