Fixed for last libav version