libschroedingerenc: use the AVFrame API properly.