Revision e731b8d8 libavformat/mov.c

View differences:

libavformat/mov.c
29 29
#include "libavutil/intreadwrite.h"
30 30
#include "libavutil/avstring.h"
31 31
#include "avformat.h"
32
#include "avio_internal.h"
32 33
#include "riff.h"
33 34
#include "isom.h"
34 35
#include "libavcodec/get_bits.h"
......
2123 2124
    get_buffer(pb, cmov_data, cmov_len);
2124 2125
    if(uncompress (moov_data, (uLongf *) &moov_len, (const Bytef *)cmov_data, cmov_len) != Z_OK)
2125 2126
        goto free_and_return;
2126
    if(init_put_byte(&ctx, moov_data, moov_len, 0, NULL, NULL, NULL, NULL) != 0)
2127
    if(ffio_init_context(&ctx, moov_data, moov_len, 0, NULL, NULL, NULL, NULL) != 0)
2127 2128
        goto free_and_return;
2128 2129
    atom.type = MKTAG('m','o','o','v');
2129 2130
    atom.size = moov_len;

Also available in: Unified diff