use ber4 length for descriptors preferred by specs

Originally committed as revision 19337 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-07-04 07:52:28 +00:00
parent 6a43aab01b
commit 76b092e207
2 changed files with 3 additions and 3 deletions

View File

@ -754,7 +754,7 @@ static void mxf_write_generic_desc(AVFormatContext *s, AVStream *st, const UID k
ByteIOContext *pb = s->pb;
put_buffer(pb, key, 16);
klv_encode_ber_length(pb, size+20+8+12+20);
klv_encode_ber4_length(pb, size+20+8+12+20);
mxf_write_local_tag(pb, 16, 0x3C0A);
mxf_write_uuid(pb, SubDescriptor, st->index);

View File

@ -9,10 +9,10 @@ bc5e914594523f7c48f9e044c9a9c0b6 *./tests/data/b-lavf.avi
bfdec98337e6a9d89dc648d1e65a41db *./tests/data/b-lavf.mpg
378880 ./tests/data/b-lavf.mpg
./tests/data/b-lavf.mpg CRC=0xaf760568
4c2cd0f62014a7c6571d8dbdf4248965 *./tests/data/b-lavf.mxf
dfae2e9e7572c000bec1edb8ea3e6cf3 *./tests/data/b-lavf.mxf
535097 ./tests/data/b-lavf.mxf
./tests/data/b-lavf.mxf CRC=0xd7ff387d
4463959da5ebd7536a579a628c4f6412 *./tests/data/b-lavf.mxf_d10
0cf22217d46b55c4fd178890305f9025 *./tests/data/b-lavf.mxf_d10
5330989 ./tests/data/b-lavf.mxf_d10
./tests/data/b-lavf.mxf_d10 CRC=0xd241c8b6
2e9bd99fbb121ae4887109e3a4169acd *./tests/data/b-lavf.ts