Merge remote-tracking branch 'qatar/master'
[ffmpeg.git] / ffplay.c
index 1d14c084152ac8f264bed6547389261436024185..f09697954fad731c349ffe7f82a5b62931cc0ca6 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -2348,6 +2348,8 @@ static void stream_component_close(VideoState *is, int stream_index)
         if (is->rdft) {
             av_rdft_end(is->rdft);
             av_freep(&is->rdft_data);
+            is->rdft = NULL;
+            is->rdft_bits = 0;
         }
         break;
     case AVMEDIA_TYPE_VIDEO: