ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanaga...@gmail.com> | Mon Nov 16 16:42:40 2015 -0500| [fafb10c30cdb5735b0685bdeb9f0609104b8ac32] | committer: Ganesh Ajjanagadde
avcodec/lpc: replace #define by typedef See e.g https://stackoverflow.com/questions/1666353/are-typedef-and-define-the-same-in-c for rationale. Reviewed-by: Michael Niedermayer <mich...@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanaga...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fafb10c30cdb5735b0685bdeb9f0609104b8ac32 --- libavcodec/lpc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/lpc.h b/libavcodec/lpc.h index 7e0ee3e..edb1a6b 100644 --- a/libavcodec/lpc.h +++ b/libavcodec/lpc.h @@ -116,12 +116,12 @@ void ff_lpc_init_x86(LPCContext *s); void ff_lpc_end(LPCContext *s); #if USE_FIXED -#define LPC_TYPE int +typedef int LPC_TYPE; #else #ifdef LPC_USE_DOUBLE -#define LPC_TYPE double +typedef double LPC_TYPE; #else -#define LPC_TYPE float +typedef float LPC_TYPE; #endif #endif // USE_FIXED _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog