From d134eda2e86a63b18c2444dba9fe3a3577ba2cc8 Mon Sep 17 00:00:00 2001 From: Karl Blomster Date: Tue, 9 Nov 2010 21:22:58 +0000 Subject: [PATCH] compilation fix Originally committed to SVN as r4836. --- aegisub/libffms/include/ffmscompat.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/aegisub/libffms/include/ffmscompat.h b/aegisub/libffms/include/ffmscompat.h index b0d16c31f..7ed356992 100644 --- a/aegisub/libffms/include/ffmscompat.h +++ b/aegisub/libffms/include/ffmscompat.h @@ -59,6 +59,11 @@ # else # define AVSampleFormat SampleFormat # define av_get_bits_per_sample_fmt av_get_bits_per_sample_format +# define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8 +# define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16 +# define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32 +# define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT +# define AV_SAMPLE_FMT_DBL SAMPLE_FMT_DBL # endif #endif