mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
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
This commit is contained in:
parent
9ba4821d93
commit
b435725b4c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user