diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-03-19 21:31:10 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-03-19 21:31:10 +0000 |
commit | b435725b4cb18a85d8a48d2a5cde37690525a589 (patch) | |
tree | f5c0e21b7bb629131fe06abd7929b03ad02a86f4 | |
parent | 9ba4821d933739d923edcb229e7129d939d56d48 (diff) | |
download | ffmpeg-b435725b4cb18a85d8a48d2a5cde37690525a589.tar.gz |
Do not set linesize for palette data, it does not make sense and creates
problems with following patch to fix linesize alignment.
Originally committed as revision 18046 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/imgconvert.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index 432a8d003f..f68105e54b 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -614,7 +614,6 @@ int ff_fill_linesize(AVPicture *picture, int pix_fmt, int width) case PIX_FMT_BGR4_BYTE: case PIX_FMT_GRAY8: picture->linesize[0] = width; - picture->linesize[1] = 4; break; default: return -1; |