Revision 1c53290b libavformat/ipmovie.c

View differences:

libavformat/ipmovie.c
101 101
    unsigned int audio_bits;
102 102
    unsigned int audio_channels;
103 103
    unsigned int audio_sample_rate;
104
    unsigned int audio_type;
104
    enum CodecID audio_type;
105 105
    unsigned int audio_frame_count;
106 106

  
107 107
    int video_stream_index;
......
544 544
    url_fseek(pb, -CHUNK_PREAMBLE_SIZE, SEEK_CUR);
545 545

  
546 546
    if (chunk_type == CHUNK_VIDEO)
547
        ipmovie->audio_type = 0;  /* no audio */
547
        ipmovie->audio_type = CODEC_ID_NONE;  /* no audio */
548 548
    else if (process_ipmovie_chunk(ipmovie, pb, &pkt) != CHUNK_INIT_AUDIO)
549 549
        return AVERROR_INVALIDDATA;
550 550

  

Also available in: Unified diff