]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpenc_chain.c
win32: Use 64-bit fstat/lseek variants for MSVC as well
[ffmpeg] / libavformat / rtpenc_chain.c
index 3c297eb97beec6bd916a1f12d15694389becd892..935dd6cd31bf87594a8bdc5a4262fc2e5ce7416d 100644 (file)
@@ -62,7 +62,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;