File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -900,8 +900,9 @@ int process_non_multiprogram_general_loop(struct lib_ccx_ctx *ctx,
900
900
cinfo = get_cinfo (ctx -> demux_ctx , pid );
901
901
* enc_ctx = update_encoder_list_cinfo (ctx , cinfo );
902
902
* dec_ctx = update_decoder_list_cinfo (ctx , cinfo );
903
+ #ifdef DISABLE_RUST
903
904
(* dec_ctx )-> dtvcc -> encoder = (void * )(* enc_ctx );
904
- #ifndef DISABLE_RUST
905
+ #else
905
906
ccxr_dtvcc_set_encoder ((* dec_ctx )-> dtvcc_rust , * enc_ctx );
906
907
#endif
907
908
@@ -1100,8 +1101,9 @@ int general_loop(struct lib_ccx_ctx *ctx)
1100
1101
1101
1102
enc_ctx = update_encoder_list_cinfo (ctx , cinfo );
1102
1103
dec_ctx = update_decoder_list_cinfo (ctx , cinfo );
1104
+ #ifdef DISABLE_RUST
1103
1105
dec_ctx -> dtvcc -> encoder = (void * )enc_ctx ; // WARN: otherwise cea-708 will not work
1104
- #ifndef DISABLE_RUST
1106
+ #else
1105
1107
ccxr_dtvcc_set_encoder (dec_ctx -> dtvcc_rust , (void * )enc_ctx );
1106
1108
#endif
1107
1109
@@ -1278,8 +1280,9 @@ int rcwt_loop(struct lib_ccx_ctx *ctx)
1278
1280
}
1279
1281
1280
1282
dec_ctx = update_decoder_list (ctx );
1283
+ #ifdef DISABLE_RUST
1281
1284
dec_ctx -> dtvcc -> encoder = (void * )enc_ctx ; // WARN: otherwise cea-708 will not work
1282
- #ifndef DISABLE_RUST
1285
+ #else
1283
1286
ccxr_dtvcc_set_encoder (dec_ctx -> dtvcc_rust , (void * )enc_ctx );
1284
1287
#endif
1285
1288
if (parsebuf [6 ] == 0 && parsebuf [7 ] == 2 )
You can’t perform that action at this time.
0 commit comments