From: Dmitry Kovalev Date: Thu, 26 Sep 2013 17:33:21 +0000 (-0700) Subject: Fixing warning generated by gcc. X-Git-Tag: v1.3.0~381^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=794a7ccd78a4ee2fa8cdf0d99a03142dd6b1526e;p=libvpx Fixing warning generated by gcc. vp9/vp9_cx_iface.c:92: warning: type qualifiers ignored on function return type Change-Id: I6f130e280e2db261506a4af8ce11fc788ad13198 --- diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c index 08a1a8458..157752a86 100644 --- a/vp9/vp9_cx_iface.c +++ b/vp9/vp9_cx_iface.c @@ -89,7 +89,7 @@ struct vpx_codec_alg_priv { unsigned int fixed_kf_cntr; }; -static const VP9_REFFRAME ref_frame_to_vp9_reframe(vpx_ref_frame_type_t frame) { +static VP9_REFFRAME ref_frame_to_vp9_reframe(vpx_ref_frame_type_t frame) { switch (frame) { case VP8_LAST_FRAME: return VP9_LAST_FLAG;