[FFmpeg-cvslog] aac: Drop pointless cast
Diego Biurrun
git at videolan.org
Fri Mar 31 22:34:31 EEST 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Mar 15 15:56:52 2015 +0100| [d316f9cefcd854071985c6f524a9a15348240264] | committer: Diego Biurrun
aac: Drop pointless cast
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d316f9cefcd854071985c6f524a9a15348240264
---
libavcodec/aacpsy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the ffmpeg-cvslog
mailing list