• Stefano Sabatini's avatar
    ffmpeg: fix massive leak occurring when seeking · e4841a40
    Stefano Sabatini authored
    Avoid to add frames to the vsrc_buffer in the case ist->pts <
    start_time, as these frames are unused (and never released). In
    particular this condition is verified with commands of the kind:
    ffmpeg -i INPUT -ss TIME OUTPUT
    
    Also allow a minor simplification.
    e4841a40
ffmpeg.c 167 KB