Ticket #1309: patchthumb.diff

File patchthumb.diff, 909 bytes (added by kyh96403, 5 years ago)

Here is patch file

  • libavcodec/dca.c

    diff --git a/libavcodec/dca.c b/libavcodec/dca.c
    index f40440c..d94dc5b 100644
    a b static int dca_xbr_parse_frame(DCAContext *s) 
    15761576    int n_xbr_ch[DCA_CHSETS_MAX]; 
    15771577    int hdr_size, num_chsets, xbr_tmode, hdr_pos; 
    15781578    int i, j, k, l, chset, chan_base; 
     1579    LOCAL_ALIGNED_16(int, block, [8]); 
    15791580 
    15801581    av_log(s->avctx, AV_LOG_DEBUG, "DTS-XBR: decoding XBR extension\n"); 
    15811582 
    static int dca_xbr_parse_frame(DCAContext *s) 
    16671668                    const int sfi = xbr_tmode && s->transition_mode[i][j] && subsubframe >= s->transition_mode[i][j]; 
    16681669                    const float rscale = quant_step_size * scale_table_high[i][j][sfi]; 
    16691670                    float *subband_samples = s->subband_samples[k][chan_base+i][j]; 
    1670                     int block[8]; 
    16711671 
    16721672                    if(xbr_abits <= 0) 
    16731673                        continue;