Fixes an invalid read on size change.
---
avplay.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/avplay.c b/avplay.c
index e050169..4136b2e 100644
--- a/avplay.c
+++ b/avplay.c
@@ -1643,6 +1643,7 @@ static int video_thread(void *arg)
graph = avfilter_graph_alloc();
if ((ret = configure_video_filters(graph, is, vfilters)) < 0)
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;
--
1.7.10
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel