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>
... | ... |
@@ -2323,6 +2323,9 @@ static int http_prepare_data(HTTPContext *c) |
2323 | 2323 |
|
2324 | 2324 |
unlayer_stream(c->pfmt_ctx->streams[i], src); //TODO we no longer copy st->internal, does this matter? |
2325 | 2325 |
av_assert0(!c->pfmt_ctx->streams[i]->priv_data); |
2326 |
+ |
|
2327 |
+ if (src->codec->flags & AV_CODEC_FLAG_BITEXACT) |
|
2328 |
+ c->pfmt_ctx->flags |= AVFMT_FLAG_BITEXACT; |
|
2326 | 2329 |
} |
2327 | 2330 |
/* set output format parameters */ |
2328 | 2331 |
c->pfmt_ctx->oformat = c->stream->fmt; |