Mercurial > libavformat.hg
changeset 2353:0bf0afe32fcc libavformat
muxer is not yet fully compliant so prevent people from mistakenly using it
while believing it already is
author | michael |
---|---|
date | Fri, 10 Aug 2007 00:11:36 +0000 |
parents | 3dfa90f47d53 |
children | e3ea6e602928 |
files | nutenc.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/nutenc.c Thu Aug 09 23:41:59 2007 +0000 +++ b/nutenc.c Fri Aug 10 00:11:36 2007 +0000 @@ -335,6 +335,10 @@ ByteIOContext *bc = &s->pb; int i, j; + if(s->streams[0]->codec->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL){ + return -1; + } + nut->avf= s; nut->stream = av_mallocz(sizeof(StreamContext)*s->nb_streams);