]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtp.c
avcodec/zmbvenc: Simplify setting keyframe flag
[ffmpeg] / libavformat / rtp.c
index 4745e54bb02b5b948c5dd60ddd18d624a54c5972..38e234391be5cfc886d2df2e752b45d0a1831147 100644 (file)
@@ -91,7 +91,7 @@ int ff_rtp_get_payload_type(AVFormatContext *fmt,
                             AVCodecParameters *par, int idx)
 {
     int i;
-    AVOutputFormat *ofmt = fmt ? fmt->oformat : NULL;
+    const AVOutputFormat *ofmt = fmt ? fmt->oformat : NULL;
 
     /* Was the payload type already specified for the RTP muxer? */
     if (ofmt && ofmt->priv_class && fmt->priv_data) {