1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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
This commit is contained in:
Michael Niedermayer 2007-08-10 00:11:36 +00:00
parent ee7db7b0b9
commit 100d8eb8dc

View File

@ -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);