lavf: use new decode API