Revision 7e821457 libavcodec/ppc/h264_altivec.c

View differences:

libavcodec/ppc/h264_altivec.c
207 207

  
208 208
        align = vec_lvsr(0, dst);
209 209

  
210
        tmp1 = vec_perm(d, edges, align);
211
        tmp2 = vec_perm(edges, d, align);
210
        tmp1 = vec_perm(edges, d, align);
211
        tmp2 = vec_perm(d, edges, align);
212 212

  
213 213
        vec_st(tmp1, 0 , dst);
214 214
        vec_st(tmp2, 15, dst);
......
249 249

  
250 250
        align = vec_lvsr(0, dst);
251 251

  
252
        tmp1 = vec_perm(d, edges, align);
253
        tmp2 = vec_perm(edges, d, align);
252
        tmp1 = vec_perm(edges, d, align);
253
        tmp2 = vec_perm(d, edges, align);
254 254

  
255 255
        vec_st(tmp1, 0 , dst);
256 256
        vec_st(tmp2, 15, dst);

Also available in: Unified diff