]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpenc_chain.c
Merge commit '4a4a7e138c92901e04db46a6b05cc6948023e5f5'
[ffmpeg] / libavformat / rtpenc_chain.c
index df7410d0c82667cb90c966d8897d9689e7925d5e..70d68ce53415454570b1254f4df7950caf6d26f6 100644 (file)
@@ -64,7 +64,7 @@ int ff_rtp_chain_mux_open(AVFormatContext **out, AVFormatContext *s,
     /* Get the payload type from the codec */
     if (st->id < RTP_PT_PRIVATE)
         rtpctx->streams[0]->id =
-            ff_rtp_get_payload_type(rtpctx, st->codec, idx);
+            ff_rtp_get_payload_type(s, st->codec, idx);
     else
         rtpctx->streams[0]->id = st->id;