Revision b7f2fdde libavformat/gif.c

View differences:

libavformat/gif.c
287 287

  
288 288
    gif_image_write_header(pb, width, height, loop_count, NULL);
289 289

  
290
    put_flush_packet(s->pb);
290
    avio_flush(s->pb);
291 291
    return 0;
292 292
}
293 293

  
......
322 322
    gif_image_write_image(pb, 0, 0, enc->width, enc->height,
323 323
                          buf, enc->width * 3, PIX_FMT_RGB24);
324 324

  
325
    put_flush_packet(s->pb);
325
    avio_flush(s->pb);
326 326
    return 0;
327 327
}
328 328

  
......
340 340
    AVIOContext *pb = s->pb;
341 341

  
342 342
    avio_w8(pb, 0x3b);
343
    put_flush_packet(s->pb);
343
    avio_flush(s->pb);
344 344
    return 0;
345 345
}
346 346

  

Also available in: Unified diff