avformat/utils: Check size argument in ff_add_index_entry()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Oct 2013 00:29:50 +0000 (02:29 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Oct 2013 10:58:09 +0000 (12:58 +0200)
commit210afae0ba651a4f11468449989c6334bb856268
tree2cf183ce650dee21ec76399f13e0d26fa1767700
parente7811e48be26649c05a813efc9d47ea42ac916ee
avformat/utils: Check size argument in ff_add_index_entry()

Fixes infinite loop
Fixes Ticket3061

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