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>
Thu, 14 Feb 2013 13:11:58 +0000 (14:11 +0100)
commit4f91c45644931064901986bca70a8903c7956564
treec4c294ac211934f3b6edcaf3eee5dffc05089646
parente4831bb9a678dea50b535638aa81eaf4aea0184c
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