huffyuvdec: Skip len==0 cases
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 29 Jan 2013 18:22:33 +0000 (19:22 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 29 Jan 2013 18:29:08 +0000 (19:29 +0100)
commitac476bfa9f90587eadef5b98cfc40ec77dde3f18
tree3d69e35133f80747808688931325ca59f3cdfd32
parent272e7f6443b76fb47192930d157bfd9284294188
huffyuvdec: Skip len==0 cases

Fixes vlc decoding for hypothetical files that would contain such cases.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 0dfc01c2bbf4b71bb56201bc4a393321e15d1b31)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 5ff41ffeb4cb9ea6df49757dc859619dc3d3ab4f)

Conflicts:

libavcodec/huffyuv.c
(cherry picked from commit 9bc70fe1ae50fd2faa0b9429d47cfbda01a92ebc)

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