Revision e731b8d8 libavformat/asfenc.c

View differences:

libavformat/asfenc.c
22 22
#include "metadata.h"
23 23
#include "riff.h"
24 24
#include "asf.h"
25
#include "avio_internal.h"
25 26

  
26 27
#undef NDEBUG
27 28
#include <assert.h>
......
578 579
    asf->packet_nb_payloads = 0;
579 580
    asf->packet_timestamp_start = -1;
580 581
    asf->packet_timestamp_end = -1;
581
    init_put_byte(&asf->pb, asf->packet_buf, s->packet_size, 1,
582
    ffio_init_context(&asf->pb, asf->packet_buf, s->packet_size, 1,
582 583
                  NULL, NULL, NULL, NULL);
583 584

  
584 585
    return 0;
......
676 677
    asf->packet_nb_payloads = 0;
677 678
    asf->packet_timestamp_start = -1;
678 679
    asf->packet_timestamp_end = -1;
679
    init_put_byte(&asf->pb, asf->packet_buf, s->packet_size, 1,
680
    ffio_init_context(&asf->pb, asf->packet_buf, s->packet_size, 1,
680 681
                  NULL, NULL, NULL, NULL);
681 682
}
682 683

  

Also available in: Unified diff