Revision b7effd4e libavformat/rsodec.c

View differences:

libavformat/rsodec.c
35 35
    enum CodecID codec;
36 36
    AVStream *st;
37 37

  
38
    id   = get_be16(pb);
39
    size = get_be16(pb);
40
    rate = get_be16(pb);
41
    get_be16(pb);   /* play mode ? (0x0000 = don't loop) */
38
    id   = avio_rb16(pb);
39
    size = avio_rb16(pb);
40
    rate = avio_rb16(pb);
41
    avio_rb16(pb);   /* play mode ? (0x0000 = don't loop) */
42 42

  
43 43
    codec = ff_codec_get_id(ff_codec_rso_tags, id);
44 44

  

Also available in: Unified diff