Revision a1b79792 libavformat/swfenc.c

View differences:

libavformat/swfenc.c
229 229
    else
230 230
        swf->samples_per_frame = (swf->audio_enc->sample_rate * rate_base) / rate;
231 231

  
232
    put_tag(pb, "FWS");
232
    avio_write(pb, "FWS", 3);
233 233

  
234 234
    if (!strcmp("avm2", s->oformat->name))
235 235
        version = 9;
......
361 361
            avio_wl16(pb, VIDEO_ID);
362 362
            put_swf_matrix(pb, 1 << FRAC_BITS, 0, 0, 1 << FRAC_BITS, 0, 0);
363 363
            avio_wl16(pb, swf->video_frame_number);
364
            put_tag(pb, "video");
364
            avio_write(pb, "video", 5);
365 365
            avio_w8(pb, 0x00);
366 366
            put_swf_end_tag(s);
367 367
        } else {

Also available in: Unified diff