summaryrefslogtreecommitdiffstats
path: root/libavcodec/aacpsy.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-03-15 15:56:52 +0100
committerDiego Biurrun <diego@biurrun.de>2016-11-13 18:44:00 +0100
commitd316f9cefcd854071985c6f524a9a15348240264 (patch)
tree25582b932eceecd040855219869eed04c4862b73 /libavcodec/aacpsy.c
parent8ddfa5ae5ef64a25dd087d74954ebdb9081f0d67 (diff)
downloadffmpeg-streaming-d316f9cefcd854071985c6f524a9a15348240264.zip
ffmpeg-streaming-d316f9cefcd854071985c6f524a9a15348240264.tar.gz
aac: Drop pointless cast
Diffstat (limited to 'libavcodec/aacpsy.c')
-rw-r--r--libavcodec/aacpsy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c
index 6cfae6b..272be9f 100644
--- a/libavcodec/aacpsy.c
+++ b/libavcodec/aacpsy.c
@@ -300,7 +300,7 @@ static av_cold int psy_3gpp_init(FFPsyContext *ctx) {
ctx->model_priv_data = av_mallocz(sizeof(AacPsyContext));
if (!ctx->model_priv_data)
return AVERROR(ENOMEM);
- pctx = (AacPsyContext*) ctx->model_priv_data;
+ pctx = ctx->model_priv_data;
pctx->chan_bitrate = chan_bitrate;
pctx->frame_bits = chan_bitrate * AAC_BLOCK_SIZE_LONG / ctx->avctx->sample_rate;
OpenPOWER on IntegriCloud