diff --git a/libavcodec/mfenc.c b/libavcodec/mfenc.c index 26f1c8057f..410ad64d8d 100644 --- a/libavcodec/mfenc.c +++ b/libavcodec/mfenc.c @@ -100,8 +100,6 @@ static int mf_wait_events(AVCodecContext *avctx) static AVRational mf_get_tb(AVCodecContext *avctx) { - if (avctx->pkt_timebase.num > 0 && avctx->pkt_timebase.den > 0) - return avctx->pkt_timebase; if (avctx->time_base.num > 0 && avctx->time_base.den > 0) return avctx->time_base; return MF_TIMEBASE;