[FFmpeg-cvslog] r18046 - trunk/libavcodec/imgconvert.c
reimar
subversion
Thu Mar 19 22:31:10 CET 2009
Author: reimar
Date: Thu Mar 19 22:31:10 2009
New Revision: 18046
Log:
Do not set linesize for palette data, it does not make sense and creates
problems with following patch to fix linesize alignment.
Modified:
trunk/libavcodec/imgconvert.c
Modified: trunk/libavcodec/imgconvert.c
==============================================================================
--- trunk/libavcodec/imgconvert.c Thu Mar 19 22:23:39 2009 (r18045)
+++ trunk/libavcodec/imgconvert.c Thu Mar 19 22:31:10 2009 (r18046)
@@ -614,7 +614,6 @@ int ff_fill_linesize(AVPicture *picture,
case PIX_FMT_BGR4_BYTE:
case PIX_FMT_GRAY8:
picture->linesize[0] = width;
- picture->linesize[1] = 4;
break;
default:
return -1;
More information about the ffmpeg-cvslog
mailing list