mss2dsp/upsample_plane: fix 0x0 handling
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Mar 2013 00:37:49 +0000 (01:37 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Mar 2013 00:38:26 +0000 (01:38 +0100)
commit7bab631f7df55b361368296f125b95a1814bc18c
treefc6ec4427935c04b24e62d83e9979fe7a50526d8
parent058e1f8dd71b30e3181a36cc66c5a278ebf835ba
mss2dsp/upsample_plane: fix 0x0 handling

Fixes invalid memcpy and out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mss2dsp.c