changeset 9191:fa58c81d8cde libavcodec

Do not set linesize for palette data, it does not make sense and creates problems with following patch to fix linesize alignment.
author reimar
date Thu, 19 Mar 2009 21:31:10 +0000
parents 5b4f4d83431f
children 6faca73d75cc
files imgconvert.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/imgconvert.c	Thu Mar 19 21:23:39 2009 +0000
+++ b/imgconvert.c	Thu Mar 19 21:31:10 2009 +0000
@@ -614,7 +614,6 @@
     case PIX_FMT_BGR4_BYTE:
     case PIX_FMT_GRAY8:
         picture->linesize[0] = width;
-        picture->linesize[1] = 4;
         break;
     default:
         return -1;