diff --git a/ext/libav/gstavauddec.h b/ext/libav/gstavauddec.h index 504da805ba..1a194abf73 100644 --- a/ext/libav/gstavauddec.h +++ b/ext/libav/gstavauddec.h @@ -19,6 +19,8 @@ #ifndef __GST_FFMPEGAUDDEC_H__ #define __GST_FFMPEGAUDDEC_H__ +#include + G_BEGIN_DECLS #include @@ -37,7 +39,7 @@ struct _GstFFMpegAudDec AVFrame *frame; guint8 *padded; - guint padded_size; + gint padded_size; /* prevent reopening the decoder on GST_EVENT_CAPS when caps are same as last time. */ GstCaps *last_caps;