summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-23 11:53:09 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-23 23:35:38 +0200
commit1bf76cd2db0aa5c140828e5fea6f34203977ba3a (patch)
treefa8b4eb7a679bb9c52fd08dab281feade7ec9afb /libavformat
parent01594ebb077c54961334b7ca82676b453f1eefd9 (diff)
rtpenc_chain: also copy AVFMT_FLAG_BITEXACT to new AVFormatContext
Otherwise it is impossible to make '-movflags +rtphint' bitexact after FF_API_LAVF_BITEXACT has been disabled. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtpenc_chain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpenc_chain.c b/libavformat/rtpenc_chain.c
index 74f306eb96..96e65efbaa 100644
--- a/libavformat/rtpenc_chain.c
+++ b/libavformat/rtpenc_chain.c
@@ -58,7 +58,7 @@ int ff_rtp_chain_mux_open(AVFormatContext **out, AVFormatContext *s,
rtpctx->max_delay = s->max_delay;
/* Copy other stream parameters. */
rtpctx->streams[0]->sample_aspect_ratio = st->sample_aspect_ratio;
- rtpctx->flags |= s->flags & AVFMT_FLAG_MP4A_LATM;
+ rtpctx->flags |= s->flags & (AVFMT_FLAG_MP4A_LATM | AVFMT_FLAG_BITEXACT);
/* Get the payload type from the codec */
if (st->id < RTP_PT_PRIVATE)