projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c67975
)
avplay: update input filter pointer when the filtergraph is reset.
author
Anton Khirnov
<anton@khirnov.net>
Wed, 4 Jul 2012 09:35:18 +0000
(11:35 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Thu, 5 Jul 2012 11:15:36 +0000
(13:15 +0200)
Fixes an invalid read on size change.
avplay.c
patch
|
blob
|
history
diff --git
a/avplay.c
b/avplay.c
index
a5d4e63
..
1961f5f
100644
(file)
--- a/
avplay.c
+++ b/
avplay.c
@@
-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;