[x264-devel] Remove compatibility workarounds

Anton Mitrofanov git at videolan.org
Tue Mar 12 19:32:12 CET 2019


x264 | branch: master | Anton Mitrofanov <BugMaster at narod.ru> | Tue Jun  6 02:30:41 2017 +0300| [d4099dd4c722f52c4f3c14575d7d39eb8fadb97f] | committer: Anton Mitrofanov

Remove compatibility workarounds

This will break decoding with older versions of FFmpeg/Libav.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=d4099dd4c722f52c4f3c14575d7d39eb8fadb97f
---

 encoder/encoder.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/encoder/encoder.c b/encoder/encoder.c
index 45a97a62..467ceb14 100644
--- a/encoder/encoder.c
+++ b/encoder/encoder.c
@@ -889,13 +889,6 @@ static int validate_parameters( x264_t *h, int b_open )
         /* 8x8dct is not useful without RD in CAVLC lossless */
         if( !h->param.b_cabac && h->param.analyse.i_subpel_refine < 6 )
             h->param.analyse.b_transform_8x8 = 0;
-        h->param.analyse.inter &= ~X264_ANALYSE_I8x8;
-        h->param.analyse.intra &= ~X264_ANALYSE_I8x8;
-    }
-    if( i_csp >= X264_CSP_I444 && h->param.b_cabac )
-    {
-        /* Disable 8x8dct during 4:4:4+CABAC encoding for compatibility with libavcodec */
-        h->param.analyse.b_transform_8x8 = 0;
     }
     if( h->param.rc.i_rc_method == X264_RC_CQP )
     {



More information about the x264-devel mailing list