avutil/mem: Fix flipped condition
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Aug 2013 11:37:18 +0000 (13:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Aug 2013 11:47:10 +0000 (13:47 +0200)
commitc94f9e854228e0ea00e1de8769d8d3f7cab84a55
tree3793b315d5433e9e2c98280244779541565a3323
parentf58cd2867a8af2eed13acdd21d067b48249b14a1
avutil/mem: Fix flipped condition

Fixes return code and later null pointer dereference

Found-by: Laurent Butti <laurentb@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/mem.c