ffplay: add missing filt_in assignment after video filter reconfigure
authorMarton Balint <cus@passwd.hu>
Wed, 6 Jun 2012 20:20:23 +0000 (22:20 +0200)
committerMarton Balint <cus@passwd.hu>
Wed, 6 Jun 2012 23:22:00 +0000 (01:22 +0200)
Fixes segfaults on changing resolution.

Signed-off-by: Marton Balint <cus@passwd.hu>
ffplay.c

index e109883..f22a848 100644 (file)
--- 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;