You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
ffserver: set format bitexact flag, eliminate warnings about it not being set
Tested-by: Reto Kromer <lists@reto.ch> Reviewed-by: "Reynaldo H. Verdejo Pinochet" <reynaldo@osg.samsung.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -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?
|
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);
|
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 */
|
/* set output format parameters */
|
||||||
c->pfmt_ctx->oformat = c->stream->fmt;
|
c->pfmt_ctx->oformat = c->stream->fmt;
|
||||||
|
Reference in New Issue
Block a user