lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappers
authorAnton Khirnov <anton@khirnov.net>
Sat, 16 Mar 2013 17:09:17 +0000 (18:09 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sun, 17 Mar 2013 08:10:04 +0000 (09:10 +0100)
commit6552808014ae318c8feaa8effac6ee40ea6019ce
treee2604a46ae067c7399b94c8d5eb707e59ea381c9
parent23f4c5acc438366d84cacf49e33b0bcd72f04937
lavc,lavfi: fix calculating the plane size in the AVBufferRef wrappers

It is supposed to be height * linesize, not width * linesize.
Thanks to Hendrik Leppkes for pointing out the bug.
libavcodec/utils.c
libavfilter/buffersrc.c