rtsp: Don't set the RTP time base from the sample rate if no sample rate is set
[ffmpeg.git] / libavformat / rtpdec.c
index 43002ca..77b59a3 100644 (file)
@@ -393,7 +393,6 @@ RTPDemuxContext *rtp_parse_open(AVFormatContext *s1, AVStream *st, URLContext *r
             return NULL;
         }
     } else {
-        av_set_pts_info(st, 32, 1, 90000);
         switch(st->codec->codec_id) {
         case CODEC_ID_MPEG1VIDEO:
         case CODEC_ID_MPEG2VIDEO: