• Edward Hervey's avatar
    codecparsers: Add READ_UE_MAX macro · 3da1c9c8
    Edward Hervey authored
    READ_UE_ALLOWED was almost exclusively used with min == 0, which doesn't
    make much point for unsigned integers.
    
    Add a READ_UE_MAX variant and use that instead. Also replaced two usages
    of CHECK_ALLOWED (a,0,something) by CHECK_ALLOWED_MAX (a, something)
    3da1c9c8
gsth264parser.c 76.3 KB