]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/movenchint.c
avcodec/mpegvideo: fix edge emulation with uvlinesize below 25
[ffmpeg] / libavformat / movenchint.c
index 5f3f7de44b60d0173d94603f5e44c72ab5fd434a..9d6a66e8ce111a29f5c0abdf3f2865c37ccc463e 100644 (file)
@@ -33,7 +33,6 @@ int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
     MOVTrack *src_track = &mov->tracks[src_index];
     AVStream *src_st    = s->streams[src_index];
     int ret = AVERROR(ENOMEM);
-    AVRational src_timebase = src_st->time_base;
 
     track->tag = MKTAG('r','t','p',' ');
     track->src_track = src_index;
@@ -49,8 +48,6 @@ int ff_mov_init_hinting(AVFormatContext *s, int index, int src_index)
     if (ret < 0)
         goto fail;
 
-    src_st->time_base = src_timebase; // prevent ff_rtp_chain_mux_open() from corrupting the timebase
-
     /* Copy the RTP AVStream timebase back to the hint AVStream */
     track->timescale = track->rtp_ctx->streams[0]->time_base.den;