From 238614de679a71970c20d7c3fee08a322967ec40 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 26 Jan 2013 22:02:19 +0100 Subject: cdgraphics: do not rely on get_buffer() initializing the frame. Setting it to zero (instead of 128, as the default get_buffer() does) also produces more correctly-looking output. --- cmdutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdutils.c') diff --git a/cmdutils.c b/cmdutils.c index dc7e7b2e65..9aec9ae5ae 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -1566,7 +1566,7 @@ static int alloc_buffer(FrameBuffer **pool, AVCodecContext *s, FrameBuffer **pbu /* XXX this shouldn't be needed, but some tests break without this line * those decoders are buggy and need to be fixed. * the following tests fail: - * cdgraphics, ansi, aasc, fraps-v1, qtrle-1bit + * ansi, aasc, fraps-v1, qtrle-1bit */ memset(buf->base[0], 128, ret); -- cgit v1.2.3