video_get_buffer: return ENOMEM instead of -1 on malloc failure
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jul 2012 22:47:18 +0000 (00:47 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jul 2012 22:47:18 +0000 (00:47 +0200)
commit93d672967d05f9769bbeb2ac6ceb8cbde302c273
tree5711cb2afad02fb3e124c11fe6d66c46ff7ea3b9
parentf339ebc1ff0d5db9df156f3bb9b8584568bb5b9d
video_get_buffer: return ENOMEM instead of -1 on malloc failure

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