summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-08-10 00:11:36 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-08-10 00:11:36 +0000
commit100d8eb8dc9ea956d350816341367425f2b981af (patch)
tree281493331409c456684e98a86e39589b791b1084 /libavformat
parentee7db7b0b950c93c31ab139f6b79acf77f1ca241 (diff)
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
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/nutenc.c4
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);