diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-01 03:46:08 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-10-02 17:13:42 +0200 |
commit | 5d10e218097008e672078bcf871f36cf57d17908 (patch) | |
tree | 443a324ca9bb5cd6255a213e6c906d1c5ccf440b /libpostproc | |
parent | a412b5e7920cacf75f95ca3ae6c3a29ce2917080 (diff) | |
download | ffmpeg-5d10e218097008e672078bcf871f36cf57d17908.tar.gz |
libpostproc/postprocess_template: Don't reimplement FFSWAP
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libpostproc')
-rw-r--r-- | libpostproc/postprocess_template.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c index 411fc41915..9f76b7c587 100644 --- a/libpostproc/postprocess_template.c +++ b/libpostproc/postprocess_template.c @@ -3595,7 +3595,6 @@ static void RENAME(postProcess)(const uint8_t src[], int srcStride, uint8_t dst[ for(x = startx, qp_index=0; x < endx; x+=BLOCK_SIZE, qp_index++){ const int stride= dstStride; - av_unused uint8_t *tmpXchg; c.QP = c.QP_block[qp_index]; c.nonBQP = c.nonBQP_block[qp_index]; c.pQPb = c.pQPb_block[qp_index]; @@ -3668,9 +3667,7 @@ static void RENAME(postProcess)(const uint8_t src[], int srcStride, uint8_t dst[ srcBlock+=8; #if TEMPLATE_PP_MMX - tmpXchg= tempBlock1; - tempBlock1= tempBlock2; - tempBlock2 = tmpXchg; + FFSWAP(uint8_t *, tempBlock1, tempBlock2); #endif } } |