Skip to content
Snippets Groups Projects
Commit b435725b authored by Reimar Döffinger's avatar Reimar Döffinger
Browse files

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
parent 9ba4821d
No related branches found
No related tags found
No related merge requests found
...@@ -614,7 +614,6 @@ int ff_fill_linesize(AVPicture *picture, int pix_fmt, int width) ...@@ -614,7 +614,6 @@ int ff_fill_linesize(AVPicture *picture, int pix_fmt, int width)
case PIX_FMT_BGR4_BYTE: case PIX_FMT_BGR4_BYTE:
case PIX_FMT_GRAY8: case PIX_FMT_GRAY8:
picture->linesize[0] = width; picture->linesize[0] = width;
picture->linesize[1] = 4;
break; break;
default: default:
return -1; return -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment