Revision e07b882b libavformat/oggenc.c

View differences:

libavformat/oggenc.c
261 261
            OGGStreamContext *ogg = s->streams[out->stream_index]->priv_data;
262 262
            ogg->eos = 1;
263 263
        }
264
        if(!s->packet_buffer)
265
            s->packet_buffer_end= NULL;
266

  
267
        if(s->streams[out->stream_index]->last_in_packet_buffer == pktl)
268
            s->streams[out->stream_index]->last_in_packet_buffer= NULL;
269

  
264 270
        av_freep(&pktl);
265 271
        return 1;
266 272
    } else {

Also available in: Unified diff