Fix palette copying in av_picture_copy(). Previous code worked only if
authorVitor Sessak <vitor1001@gmail.com>
Tue, 10 Nov 2009 19:36:58 +0000 (19:36 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Tue, 10 Nov 2009 19:36:58 +0000 (19:36 +0000)
commit51ae2142d5ec6c00621f662631b6347bc1b2669c
tree80c89c1292cab63386084c701fbfa26f47659adf
parent8cbcb1c732a6abf07a3db688ff47fb6548b47c9e
Fix palette copying in av_picture_copy(). Previous code worked only if
linesize[1] == 1, which does not make sense.

Originally committed as revision 20503 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/imgconvert.c