Skip to content

Commit

Permalink
Remove compatibility workarounds
Browse files Browse the repository at this point in the history
This will break decoding with older versions of FFmpeg/Libav.
  • Loading branch information
MasterNobody committed Mar 6, 2019
1 parent 120ed3a commit d4099dd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions encoder/encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
{
Expand Down

0 comments on commit d4099dd

Please sign in to comment.