X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Frtpenc_chain.c;h=70d68ce53415454570b1254f4df7950caf6d26f6;hb=b4581e9394c9f97d08af814d09337ed16f21cfe0;hp=df7410d0c82667cb90c966d8897d9689e7925d5e;hpb=1d2abca7e1f09ccd2f14b4d452aab584362fad33;p=ffmpeg diff --git a/libavformat/rtpenc_chain.c b/libavformat/rtpenc_chain.c index df7410d0c82..70d68ce5341 100644 --- a/libavformat/rtpenc_chain.c +++ b/libavformat/rtpenc_chain.c @@ -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;