Commit fbdf8f17 authored by Michael Niedermayer's avatar Michael Niedermayer

ffserver: set format bitexact flag, eliminate warnings about it not being set

Tested-by: 's avatarReto Kromer <lists@reto.ch>
Reviewed-by: 's avatar"Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 3aa1ff30
......@@ -2323,6 +2323,9 @@ static int http_prepare_data(HTTPContext *c)
unlayer_stream(c->pfmt_ctx->streams[i], src); //TODO we no longer copy st->internal, does this matter?
av_assert0(!c->pfmt_ctx->streams[i]->priv_data);
if (src->codec->flags & AV_CODEC_FLAG_BITEXACT)
c->pfmt_ctx->flags |= AVFMT_FLAG_BITEXACT;
}
/* set output format parameters */
c->pfmt_ctx->oformat = c->stream->fmt;
......
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