Check return value of ff_fill_pointer in avcodec_default_get_buffer, if it returns -1 we do not know how to allocate an AVFrame for that format and must return -1 instead of returning nonsense.
Check return value of ff_fill_pointer in avcodec_default_get_buffer,
if it returns -1 we do not know how to allocate an AVFrame for that format
and must return -1 instead of returning nonsense.


git-svn-id: a4d7c1866f8397a4106e0b57fc4fbf792bbdaaaf@17542 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

prajnashi/ffmpeg,prajnashi/ffmpeg,prajnashi/ffmpeg,prajnashi/ffmpeg