[vlc-commits] ASCII Art: fix invalid video format, crash in scaling

Rémi Denis-Courmont git at videolan.org
Mon Nov 10 21:57:05 CET 2014


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 10 22:55:21 2014 +0200| [4b961ac47f2a02e2acd00429c713615ddf660710] | committer: Rémi Denis-Courmont

ASCII Art: fix invalid video format, crash in scaling

(cherry picked from commit 583dbc92c7caef8fd42f012f83ef65189077b991)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=4b961ac47f2a02e2acd00429c713615ddf660710
---

 modules/video_output/aa.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/aa.c b/modules/video_output/aa.c
index 5a848cf..fe69686 100644
--- a/modules/video_output/aa.c
+++ b/modules/video_output/aa.c
@@ -119,6 +119,8 @@ static int Open(vlc_object_t *object)
     fmt.i_chroma = VLC_CODEC_RGB8;
     fmt.i_width  = aa_imgwidth(sys->aa_context);
     fmt.i_height = aa_imgheight(sys->aa_context);
+    fmt.i_visible_width = fmt.i_width;
+    fmt.i_visible_height = fmt.i_height;
 
     /* */
     vout_display_info_t info = vd->info;



More information about the vlc-commits mailing list