diff --git a/ffplay.c b/ffplay.c index 708dab8d63..44ae931601 100644 --- a/ffplay.c +++ b/ffplay.c @@ -2077,6 +2077,9 @@ static int audio_decode_frame(VideoState *is, double *pts_ptr) } else avcodec_get_frame_defaults(is->frame); + if (is->paused) + return -1; + if (flush_complete) break; new_packet = 0;