diff --git a/ffplay.c b/ffplay.c
index d5a9dc362ceb7c0ab027d54346a28aa7e73db170..ed53023854bc34321c080ae16e6438ccd0c930cd 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2090,6 +2090,9 @@ static int audio_decode_frame(VideoState *is)
             } else
                 avcodec_get_frame_defaults(is->frame);
 
+            if (is->audioq.serial != is->audio_pkt_temp_serial)
+                break;
+
             if (is->paused)
                 return -1;