qtrle: fix the topmost line for 1bit

Signed-off-by: Anton Khirnov <anton@khirnov.net>
CC:libav-stable@libav.org
(cherry picked from commit 89f11f498b)

Conflicts:

	cmdutils.c
This commit is contained in:
Kostya Shishkov
2013-01-30 06:42:17 +01:00
committed by Reinhard Tartler
parent 1f8bf163e4
commit d0249f1c2e
3 changed files with 43 additions and 40 deletions

View File

@@ -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, qtrle-1bit
* cdgraphics, ansi
*/
memset(buf->base[0], 128, ret);