Revision 13ff92d1 libavformat/movenc.c

View differences:

libavformat/movenc.c
1233 1233
    return 0x5c;
1234 1234
}
1235 1235

  
1236
static int mov_write_tapt_tag(ByteIOContext *pb, MOVTrack *track)
1236
static int mov_write_tapt_tag(AVIOContext *pb, MOVTrack *track)
1237 1237
{
1238 1238
    int32_t width = av_rescale(track->enc->sample_aspect_ratio.num, track->enc->width,
1239 1239
                               track->enc->sample_aspect_ratio.den);
......
1241 1241
    int64_t pos = url_ftell(pb);
1242 1242

  
1243 1243
    avio_wb32(pb, 0); /* size */
1244
    put_tag(pb, "tapt");
1244
    ffio_wfourcc(pb, "tapt");
1245 1245

  
1246 1246
    avio_wb32(pb, 20);
1247
    put_tag(pb, "clef");
1247
    ffio_wfourcc(pb, "clef");
1248 1248
    avio_wb32(pb, 0);
1249 1249
    avio_wb32(pb, width << 16);
1250 1250
    avio_wb32(pb, track->enc->height << 16);
1251 1251

  
1252 1252
    avio_wb32(pb, 20);
1253
    put_tag(pb, "enof");
1253
    ffio_wfourcc(pb, "enof");
1254 1254
    avio_wb32(pb, 0);
1255 1255
    avio_wb32(pb, track->enc->width << 16);
1256 1256
    avio_wb32(pb, track->enc->height << 16);

Also available in: Unified diff