Apparently av_OnError got removed...