• foo86's avatar
    avcodec/dolby_e: fix potentially undefined pointer arithmetic · 5e715b58
    foo86 authored
    Avoid undefined behavior in skip_input() by checking that enough data is
    available before incrementing input pointer.
    
    Check return values of parse_key() and skip_input() and exit early with
    error if there is not enough data.
    5e715b58
dolby_e.c 20.8 KB