]> git.sesse.net Git - vlc/blobdiff - modules/codec/avcodec/video.c
Force avcodec to be at least 52.25.0 and avfomat 52.30.0...
[vlc] / modules / codec / avcodec / video.c
index 8ea735fc03419570df0c109af66da79d6f43c5da..755b1d77a43e4ac6e61c5d2612923bc114d97285 100644 (file)
@@ -658,13 +658,9 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
             }
             else if( p_context->time_base.den > 0 )
             {
-#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(52,20,0)
                 int i_tick = p_context->ticks_per_frame;
                 if( i_tick <= 0 )
                     i_tick = 1;
-#else
-                int i_tick = 1;
-#endif
 
                 p_sys->i_pts += INT64_C(1000000) *
                     (2 + p_sys->p_ff_pic->repeat_pict) *