Revision fffdee89 libavformat/movenc.c

View differences:

libavformat/movenc.c
1217 1217
              track->enc->codec_type == AVMEDIA_TYPE_SUBTITLE)) {
1218 1218
        if(track->mode == MODE_MOV) {
1219 1219
            avio_wb32(pb, track->enc->width << 16);
1220
            avio_wb32(pb, track->enc->height << 16);
1220
            avio_wb32(pb, track->height << 16);
1221 1221
        } else {
1222 1222
            double sample_aspect_ratio = av_q2d(st->sample_aspect_ratio);
1223 1223
            if(!sample_aspect_ratio || track->height != track->enc->height)

Also available in: Unified diff