Make avpicture_alloc() return meaningful values.