Make avpicture_fill() return a meaningful error code.