• Philip Langdale's avatar
    avcodec: Fix reference data type for nvdec vc1 hwaccel · 5a0f6b09
    Philip Langdale authored
    I took the reference lookup code from the vp9 hwaccel where the
    type is unsigned char, but for vc1, the type is signed int.
    
    This is particularly important because the value used when there's
    no reference is different (255 vs -1).
    
    It didn't seem to break anything, but for mpeg1/2/4, this mistake
    caused decode errors.
    5a0f6b09
nvdec_vc1.c 6.34 KB