Browse code

ffplay: add missing filt_in assignment after video filter reconfigure

Fixes segfaults on changing resolution.

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

Marton Balint authored on 2012/06/07 05:20:23
Showing 1 changed files
... ...
@@ -1693,6 +1693,7 @@ static int video_thread(void *arg)
1693 1693
                 av_free_packet(&pkt);
1694 1694
                 goto the_end;
1695 1695
             }
1696
+            filt_in  = is->in_video_filter;
1696 1697
             filt_out = is->out_video_filter;
1697 1698
             last_w = is->video_st->codec->width;
1698 1699
             last_h = is->video_st->codec->height;