avcodec/fitsdec: write output to frame directly