Mercurial > libavformat.hg
comparison mov.c @ 953:76deb0728cbd libavformat
10l for myself
author | michael |
---|---|
date | Sun, 12 Feb 2006 14:50:53 +0000 |
parents | 5fdcae83a82f |
children | 7d778342142f |
comparison
equal
deleted
inserted
replaced
952:5fdcae83a82f | 953:76deb0728cbd |
---|---|
1498 ctx.buf_end = ctx.buffer + moov_len; | 1498 ctx.buf_end = ctx.buffer + moov_len; |
1499 atom.type = MKTAG( 'm', 'o', 'o', 'v' ); | 1499 atom.type = MKTAG( 'm', 'o', 'o', 'v' ); |
1500 atom.offset = 0; | 1500 atom.offset = 0; |
1501 atom.size = moov_len; | 1501 atom.size = moov_len; |
1502 #ifdef DEBUG | 1502 #ifdef DEBUG |
1503 { int fd = open("/tmp/uncompheader.mov", O_WRONLY | O_CREAT); write(fd, moov_data, moov_len); close(fd); } | 1503 // { int fd = open("/tmp/uncompheader.mov", O_WRONLY | O_CREAT); write(fd, moov_data, moov_len); close(fd); } |
1504 #endif | 1504 #endif |
1505 ret = mov_read_default(c, &ctx, atom); | 1505 ret = mov_read_default(c, &ctx, atom); |
1506 av_free(moov_data); | 1506 av_free(moov_data); |
1507 av_free(cmov_data); | 1507 av_free(cmov_data); |
1508 | 1508 |