Commit c0d7db8d authored by bcoudurier's avatar bcoudurier

humm, actually do what's in the doxy

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7427 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b2b540ca
......@@ -2184,6 +2184,13 @@ int av_write_header(AVFormatContext *s)
}
}
if (s->oformat->priv_data_size > 0) {
s->priv_data = av_mallocz(s->oformat->priv_data_size);
if (!s->priv_data)
return AVERROR_NOMEM;
} else
s->priv_data = NULL;
if(s->oformat->write_header){
ret = s->oformat->write_header(s);
if (ret < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment