Ticket #801: utils.diff

File utils.diff, 515 bytes (added by jwestfall@…, 18 years ago)

patch that fixes the issue for jwestfall

  • libs/libavformat/utils.c

     
    20832083            break;
    20842084        }
    20852085
     2086        /* handle ic->packet_buffer being freed by av_read_frame_internal() */
     2087        if (!ic->packet_buffer)
     2088              ppktl = &ic->packet_buffer;
     2089
    20862090        /* add the packet in the buffered packet list */
    20872091        *ppktl = pktl;
    20882092        ppktl = &pktl->next;