Ticket #1557: rm.diff

File rm.diff, 502 bytes (added by ami_stuff, 4 years ago)
  • libavformat/rmdec.c

    diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
    index 2bfa5ce..cf65dcb 100644
    a b static int rm_read_audio_stream_info(AVFormatContext *s, AVIOContext *pb, 
    196196            st->need_parsing = AVSTREAM_PARSE_HEADERS; 
    197197        case AV_CODEC_ID_ATRAC3: 
    198198        case AV_CODEC_ID_SIPR: 
    199             avio_rb16(pb); avio_r8(pb); 
    200199            if (version == 5) 
    201200                avio_r8(pb); 
    202201            codecdata_length = avio_rb32(pb);