mirror of https://git.ffmpeg.org/ffmpeg.git
Add parentheses in boolean expression: (A && B || C) => ((A && B) || C),
fix the warning: ffmpeg.c: In function ‘output_packet’: ffmpeg.c:1317: warning: suggest parentheses around && within || Originally committed as revision 21650 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
570da52bac
commit
6e2fdc3eb1
2
ffmpeg.c
2
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue