Revision a1b79792 libavformat/amr.c

View differences:

libavformat/amr.c
40 40

  
41 41
    if (enc->codec_id == CODEC_ID_AMR_NB)
42 42
    {
43
        put_tag(pb, AMR_header);       /* magic number */
43
        avio_write(pb, AMR_header,   sizeof(AMR_header)   - 1); /* magic number */
44 44
    }
45 45
    else if(enc->codec_id == CODEC_ID_AMR_WB)
46 46
    {
47
        put_tag(pb, AMRWB_header);       /* magic number */
47
        avio_write(pb, AMRWB_header, sizeof(AMRWB_header) - 1); /* magic number */
48 48
    }
49 49
    else
50 50
    {

Also available in: Unified diff