diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-01-26 22:02:19 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-02-06 10:21:52 +0100 |
commit | 238614de679a71970c20d7c3fee08a322967ec40 (patch) | |
tree | 98c952907835213397ef8796625519c2dfe65e24 /cmdutils.c | |
parent | 6ed9fc44badb256bdf235e700702bee46a9f6527 (diff) | |
download | ffmpeg-238614de679a71970c20d7c3fee08a322967ec40.tar.gz |
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.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |