• Janne Grunau's avatar
    avio: exit early in fill_buffer without read_packet · a2d1d216
    Janne Grunau authored
    Fixes an invalid free() with ass in avi. The sample in bug 98 passes
    parts of AVPacket.data as buffer for the AVIOContext. Since the packet
    is quite large fill_buffer tries to reallocate the buffer before doing
    nothing. Fixes bug 98.
    a2d1d216