From cd947e9a2bc37f5af7a1dda90a7bc62b7f9019e7 Mon Sep 17 00:00:00 2001
From: Marton Balint <cus@passwd.hu>
Date: Wed, 6 Jun 2012 22:20:23 +0200
Subject: [PATCH] ffplay: add missing filt_in assignment after video filter
 reconfigure

Fixes segfaults on changing resolution.

Signed-off-by: Marton Balint <cus@passwd.hu>
---
 ffplay.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ffplay.c b/ffplay.c
index e10988333d5..f22a848079b 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1693,6 +1693,7 @@ static int video_thread(void *arg)
                 av_free_packet(&pkt);
                 goto the_end;
             }
+            filt_in  = is->in_video_filter;
             filt_out = is->out_video_filter;
             last_w = is->video_st->codec->width;
             last_h = is->video_st->codec->height;
-- 
GitLab