[FFmpeg-cvslog] avutil/fixed_dsp: remove redundant cast

Michael Niedermayer git at videolan.org
Tue Apr 1 17:59:58 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Apr  1 17:57:30 2014 +0200| [d506deaeaa98013505241d8149d82327efea0379] | committer: Michael Niedermayer

avutil/fixed_dsp: remove redundant cast

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d506deaeaa98013505241d8149d82327efea0379
---

 libavutil/fixed_dsp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/fixed_dsp.c b/libavutil/fixed_dsp.c
index 6aceaac..b99fea5 100644
--- a/libavutil/fixed_dsp.c
+++ b/libavutil/fixed_dsp.c
@@ -90,7 +90,7 @@ static void vector_fmul_window_fixed_c(int32_t *dst, const int32_t *src0,
 
 AVFixedDSPContext * avpriv_alloc_fixed_dsp(int bit_exact)
 {
-    AVFixedDSPContext * fdsp = (AVFixedDSPContext*)av_malloc(sizeof(AVFixedDSPContext));
+    AVFixedDSPContext * fdsp = av_malloc(sizeof(AVFixedDSPContext));
     fdsp->vector_fmul_window_scaled = vector_fmul_window_fixed_scaled_c;
     fdsp->vector_fmul_window = vector_fmul_window_fixed_c;
 



More information about the ffmpeg-cvslog mailing list