avviddec: drain frames until libav doesn't have more data