omadec: Properly check lengths before incrementing the position
authorMartin Storsjö <martin@martin.st>
Wed, 11 Sep 2013 11:54:05 +0000 (14:54 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 7 Jan 2014 08:43:56 +0000 (09:43 +0100)
commit7981b5c20e614e792967f17d09cf1adfb07ae254
tree6a580e886c48c9bea8335a98ce30b905b81fd207
parent9291012d52a7eddda1ffa32c46d3fb6f1953b11e
omadec: Properly check lengths before incrementing the position

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 342c43d154e586bc022c86b168fe8d36f69da9d3)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 9eba02d5dd7036294ea350cb772822deec95b867)
libavformat/omadec.c