OSDN Git Service

Fix a bug in the conversion of rgba32->yuv420p. This resulted in garbage images
authorPhilip Gladstone <philipjsg@users.sourceforge.net>
Sat, 8 Feb 2003 15:34:25 +0000 (15:34 +0000)
committerPhilip Gladstone <philipjsg@users.sourceforge.net>
Sat, 8 Feb 2003 15:34:25 +0000 (15:34 +0000)
commit16e83cbbc4023ab89c0ac7c193ab02e22ce72790
tree5e45590d789deb89aec48e9be136f23ae3b67d20
parent04bbd31b9f308532ade0ecbbd5ed11d4f7435adc
Fix a bug in the conversion of rgba32->yuv420p. This resulted in garbage images
when this conversion was used. I suspect that the same bug may be lurking in
other conversions. [The assumption was that the linesize was equal to the width
for both the source and destination images. This turns out not to be true
in some cases.]

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