h264_cavlc: check prefix before using it.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 May 2012 14:42:01 +0000 (16:42 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 6 Jun 2012 22:55:24 +0000 (00:55 +0200)
commitdff4dbdf6035db4dfb0432f1fef44bb1afdef5c4
treeb33d4ad403c035073f79d39e94a899a02fd13b72
parent622e926e9cdfa620acced831efaea74b7a290e3d
h264_cavlc: check prefix before using it.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 39f0a45a1a087e5bbef84fa3366942384ec32155)

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