• wm4's avatar
    lavc: propagate hwaccel errors · 94c0df79
    wm4 authored
    At least the new videotoolbox decoder does not actually set a frame if
    end_frame fails. This causes the API to return success and signals that
    a picture was decoded, even though AVFrame->data[0] is NULL.
    
    Fix this by propagating end_frame errors.
    94c0df79
mpeg12dec.c 107 KB