[FFmpeg-cvslog] avcodec/ituh263enc: Remove redundant check

Andreas Rheinhardt git at videolan.org
Wed Jun 12 14:16:49 EEST 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Apr 29 19:48:08 2024 +0200| [34ed9d1954c1d525536899208f93aa6ef2d51959] | committer: Andreas Rheinhardt

avcodec/ituh263enc: Remove redundant check

It is redundant due to the identical check in ff_mpv_encode_init().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=34ed9d1954c1d525536899208f93aa6ef2d51959
---

 libavcodec/ituh263enc.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/libavcodec/ituh263enc.c b/libavcodec/ituh263enc.c
index b7c9f124a9..4b3c55896f 100644
--- a/libavcodec/ituh263enc.c
+++ b/libavcodec/ituh263enc.c
@@ -881,11 +881,6 @@ av_cold void ff_h263_encode_init(MpegEncContext *s)
         s->c_dc_scale_table= ff_mpeg1_dc_scale_table;
     }
 
-    if (s->lmin > s->lmax) {
-        av_log(s->avctx, AV_LOG_WARNING, "Clipping lmin value to %d\n", s->lmax);
-        s->lmin = s->lmax;
-    }
-
     ff_thread_once(&init_static_once, h263_encode_init_static);
 }
 



More information about the ffmpeg-cvslog mailing list