hevc: fix incorrect sao buffer size
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Sun, 10 Aug 2014 09:43:12 +0000 (11:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Aug 2014 10:34:57 +0000 (12:34 +0200)
commit7117547298b13d6f52a20d6a62a27dc0a1c3e263
tree42524d6c90e06fdded0b1b1bef17ca572e9aa81f
parent6985ef7813971a694a0e6b3b8eddf47456c391dc
hevc: fix incorrect sao buffer size

It previously used the output, cropped size, causing overreads/writes.

Fixes ticket #3839.

This issue was introduced by d249e682, which is not part of any release

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc.c