Ticket #6595: ffmpeg.patch

File ffmpeg.patch, 512 bytes (added by Barrett, 14 years ago)

Very little patch to solve the ticket 6595.

  • src/add-ons/media/plugins/ffmpeg/AVFormatReader.cpp

     
    229229    fStreamBuildsIndexWhileReading(false)
    230230{
    231231    // NOTE: Don't use streamLock here, it may not yet be initialized!
     232
     233    fIOContext.buffer = NULL;
    232234    av_new_packet(&fPacket, 0);
    233235    memset(&fFormat, 0, sizeof(media_format));
    234236}