Only add 1 byte to av_malloc(0) when it actually returned NULL