Revision e4141433 libavformat/electronicarts.c

View differences:

libavformat/electronicarts.c
80 80
static int process_ea_header(AVFormatContext *s) {
81 81
    int inHeader;
82 82
    uint32_t blockid, size;
83
    EaDemuxContext *ea = (EaDemuxContext *)s->priv_data;
83
    EaDemuxContext *ea = s->priv_data;
84 84
    ByteIOContext *pb = &s->pb;
85 85

  
86 86
    if (get_buffer(pb, (void*)&blockid, 4) != 4) {
......
174 174
static int ea_read_header(AVFormatContext *s,
175 175
                          AVFormatParameters *ap)
176 176
{
177
    EaDemuxContext *ea = (EaDemuxContext *)s->priv_data;
177
    EaDemuxContext *ea = s->priv_data;
178 178
    AVStream *st;
179 179

  
180 180
    if (!process_ea_header(s))
......
272 272

  
273 273
static int ea_read_close(AVFormatContext *s)
274 274
{
275
//    EaDemuxContext *ea = (EaDemuxContext *)s->priv_data;
275
//    EaDemuxContext *ea = s->priv_data;
276 276

  
277 277
    return 0;
278 278
}

Also available in: Unified diff