summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2012-06-06 22:20:23 +0200
committerMarton Balint <cus@passwd.hu>2012-06-07 01:22:00 +0200
commitcd947e9a2bc37f5af7a1dda90a7bc62b7f9019e7 (patch)
treeab688f61b55bf2e1548160465218277acd72978f /ffplay.c
parent0a501c756f39d3b3c3242bd0b011b37cfd0eb11f (diff)
ffplay: add missing filt_in assignment after video filter reconfigure
Fixes segfaults on changing resolution. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index e10988333d..f22a848079 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;