comparison mxfenc.c @ 4343:b691846ea95e libavformat

fix video line map tag size
author bcoudurier
date Mon, 02 Feb 2009 10:10:41 +0000
parents b889db531b8f
children 582124bb2c15
comparison
equal deleted inserted replaced
4342:b889db531b8f 4343:b691846ea95e
659 if (!sc->interlaced) { 659 if (!sc->interlaced) {
660 f2 = 0; 660 f2 = 0;
661 f1 *= 2; 661 f1 *= 2;
662 } 662 }
663 663
664 mxf_write_local_tag(pb, 16, 0x320D); 664 mxf_write_local_tag(pb, 12+sc->interlaced*4, 0x320D);
665 put_be32(pb, sc->interlaced ? 2 : 1); 665 put_be32(pb, sc->interlaced ? 2 : 1);
666 put_be32(pb, 4); 666 put_be32(pb, 4);
667 put_be32(pb, f1); 667 put_be32(pb, f1);
668 if (sc->interlaced) 668 if (sc->interlaced)
669 put_be32(pb, f2); 669 put_be32(pb, f2);