summaryrefslogtreecommitdiff
path: root/libavcodec/asvenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-02-13 17:57:05 +0100
committerDiego Biurrun <diego@biurrun.de>2014-06-22 18:22:31 -0700
commitc67b449bebbe0b35c73b203683e77a0a649bc765 (patch)
treefef2691cbb548198024dbc1461419dfdd9d3fea2 /libavcodec/asvenc.c
parent7b9ef8d701c319c26f7d0664fe977e176764c74e (diff)
downloadffmpeg-c67b449bebbe0b35c73b203683e77a0a649bc765.tar.gz
dsputil: Split bswap*_buf() off into a separate context
Diffstat (limited to 'libavcodec/asvenc.c')
-rw-r--r--libavcodec/asvenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/asvenc.c b/libavcodec/asvenc.c
index 6c83c9293a..47b766ac9e 100644
--- a/libavcodec/asvenc.c
+++ b/libavcodec/asvenc.c
@@ -220,7 +220,8 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
size= put_bits_count(&a->pb)/32;
if(avctx->codec_id == AV_CODEC_ID_ASV1)
- a->dsp.bswap_buf((uint32_t*)pkt->data, (uint32_t*)pkt->data, size);
+ a->bbdsp.bswap_buf((uint32_t *) pkt->data,
+ (uint32_t *) pkt->data, size);
else{
int i;
for(i=0; i<4*size; i++)