]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/atrac3plus.c
avcodec/texturedspenc: Add () to protect macro / argument evaluation order
[ffmpeg] / libavcodec / atrac3plus.c
index f998a7f9ee7ea39e345af34d11e69a9fd1086635..b16a13971df2c41d16ff59b4b7604973c782c47e 100644 (file)
@@ -1724,11 +1724,7 @@ static int decode_tones_info(GetBitContext *gb, Atrac3pChanUnitCtx *ctx,
     if (num_channels == 2) {
         get_subband_flags(gb, ctx->waves_info->tone_sharing, ctx->waves_info->num_tone_bands);
         get_subband_flags(gb, ctx->waves_info->tone_master,  ctx->waves_info->num_tone_bands);
-        if (get_subband_flags(gb, ctx->waves_info->phase_shift,
-                              ctx->waves_info->num_tone_bands)) {
-            avpriv_report_missing_feature(avctx, "GHA Phase shifting");
-            return AVERROR_PATCHWELCOME;
-        }
+        get_subband_flags(gb, ctx->waves_info->invert_phase, ctx->waves_info->num_tone_bands);
     }
 
     ctx->waves_info->tones_index = 0;