avcodec/vc1: check REFDIST