nuv: check buffer size before checking content.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Apr 2012 17:32:04 +0000 (19:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Apr 2012 17:32:04 +0000 (19:32 +0200)
commitebf6d1d295debe112b990bea772f26a0441af079
tree8cfdce99d71efe8444122af2882431eebe1aeff8
parent096231d497457be9496b0be01ff6da2093186c3c
nuv: check buffer size before checking content.

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