mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Use parentheses around && within ||, fix the gcc warning:
ffplay.c: In function ‘video_thread’: ffplay.c:1391: warning: suggest parentheses around && within || Originally committed as revision 21600 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
df7d6e484c
commit
ecbed31c00
2
ffplay.c
2
ffplay.c
@ -1387,7 +1387,7 @@ static int video_thread(void *arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if( ( decoder_reorder_pts==1
|
if( ( decoder_reorder_pts==1
|
||||||
|| decoder_reorder_pts && is->faulty_pts<is->faulty_dts
|
|| (decoder_reorder_pts && is->faulty_pts<is->faulty_dts)
|
||||||
|| pkt->dts == AV_NOPTS_VALUE)
|
|| pkt->dts == AV_NOPTS_VALUE)
|
||||||
&& frame->reordered_opaque != AV_NOPTS_VALUE)
|
&& frame->reordered_opaque != AV_NOPTS_VALUE)
|
||||||
pts= frame->reordered_opaque;
|
pts= frame->reordered_opaque;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user