summaryrefslogtreecommitdiff
path: root/libavformat/movenchint.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2012-11-11 20:44:28 +0100
committerLuca Barbato <lu_zero@gentoo.org>2012-11-14 20:38:51 +0100
commit8034130e06b03859af9ce64f7ee653cd14df328d (patch)
treeac5d06c32f27347f96c147599f2e6129178c6e1e /libavformat/movenchint.c
parent3b4296f41473a5b39e84d7a49d480624c9c60040 (diff)
downloadffmpeg-8034130e06b03859af9ce64f7ee653cd14df328d.tar.gz
rtp: set the payload type as stream id
Support multiple video/audio streams with different format in the same session. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/movenchint.c')
-rw-r--r--libavformat/movenchint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenchint.c b/libavformat/movenchint.c
index 5ef90f154a..02391b5106 100644
--- a/libavformat/movenchint.c
+++ b/libavformat/movenchint.c
@@ -44,7 +44,7 @@ int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
track->enc->codec_tag = track->tag;
ret = ff_rtp_chain_mux_open(&track->rtp_ctx, s, src_st, NULL,
- RTP_MAX_PACKET_SIZE);
+ RTP_MAX_PACKET_SIZE, src_index);
if (ret < 0)
goto fail;