diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-08-10 00:11:36 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-08-10 00:11:36 +0000 |
commit | 100d8eb8dc9ea956d350816341367425f2b981af (patch) | |
tree | 281493331409c456684e98a86e39589b791b1084 | |
parent | ee7db7b0b950c93c31ab139f6b79acf77f1ca241 (diff) | |
download | ffmpeg-100d8eb8dc9ea956d350816341367425f2b981af.tar.gz |
muxer is not yet fully compliant so prevent people from mistakenly using it
while believing it already is
Originally committed as revision 10042 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/nutenc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index e2e9252161..2617c74ca2 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -335,6 +335,10 @@ static int write_header(AVFormatContext *s){ 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); |