[FFmpeg-cvslog] ffplay: add missing filt_in assignment after video filter reconfigure

Marton Balint git at videolan.org
Thu Jun 7 22:00:50 CEST 2012


ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Wed Jun  6 22:20:23 2012 +0200| [cd947e9a2bc37f5af7a1dda90a7bc62b7f9019e7] | committer: Marton Balint

ffplay: add missing filt_in assignment after video filter reconfigure

Fixes segfaults on changing resolution.

Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd947e9a2bc37f5af7a1dda90a7bc62b7f9019e7
---

 ffplay.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffplay.c b/ffplay.c
index e109883..f22a848 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;



More information about the ffmpeg-cvslog mailing list