Mercurial > libavformat.hg
changeset 441:6635c1e75087 libavformat
bit-exact
author | michael |
---|---|
date | Mon, 12 Apr 2004 20:06:23 +0000 |
parents | 404fe714eea1 |
children | e17fb306b107 |
files | movenc.c nut.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/movenc.c Mon Apr 12 18:42:23 2004 +0000 +++ b/movenc.c Mon Apr 12 20:06:23 2004 +0000 @@ -799,6 +799,7 @@ } /* Encoder */ + if(!(mov->tracks[0].enc->flags & CODEC_FLAG_BITEXACT)) { int pos = url_ftell(pb); put_be32(pb, 0); /* size */
--- a/nut.c Mon Apr 12 18:42:23 2004 +0000 +++ b/nut.c Mon Apr 12 20:06:23 2004 +0000 @@ -613,8 +613,10 @@ put_str(bc, s->copyright); } /* encoder */ - put_v(bc, 13); /* type */ - put_str(bc, LIBAVFORMAT_IDENT); + if(!(s->streams[0]->codec.flags & CODEC_FLAG_BITEXACT)){ + put_v(bc, 13); /* type */ + put_str(bc, LIBAVFORMAT_IDENT); + } put_v(bc, 0); /* eof info */ update_packetheader(nut, bc, 0, 1);