diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-07-04 11:35:18 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-07-05 13:15:36 +0200 |
commit | 2696789c52cd4a8a2ff554d2329c60001459c21b (patch) | |
tree | 04d25ea26da6cff522783db90f2606812d160e16 /avplay.c | |
parent | 4c679750cb4cb112c19f862bd733bf6660a935bd (diff) | |
download | ffmpeg-2696789c52cd4a8a2ff554d2329c60001459c21b.tar.gz |
avplay: update input filter pointer when the filtergraph is reset.
Fixes an invalid read on size change.
Diffstat (limited to 'avplay.c')
-rw-r--r-- | avplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1644,6 +1644,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; |