From 88434f9725e7c9484dcbcf323566ae88a2904f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 24 Feb 2015 12:56:51 +0200 Subject: [PATCH] rtpdec: Remove unnecessary inline attributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These functions are far from performance critical, so there's no point in marking them as inline. Signed-off-by: Martin Storsjö --- libavformat/rtpdec_jpeg.c | 2 +- libavformat/rtpdec_mpa_robust.c | 2 +- libavformat/rtpdec_xiph.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/rtpdec_jpeg.c b/libavformat/rtpdec_jpeg.c index 68ce6d8c8e..b49185a751 100644 --- a/libavformat/rtpdec_jpeg.c +++ b/libavformat/rtpdec_jpeg.c @@ -59,7 +59,7 @@ static const uint8_t default_quantizers[128] = { 99, 99, 99, 99, 99, 99, 99, 99 }; -static inline void free_frame(PayloadContext *jpeg) +static void free_frame(PayloadContext *jpeg) { if (jpeg->frame) { uint8_t *p; diff --git a/libavformat/rtpdec_mpa_robust.c b/libavformat/rtpdec_mpa_robust.c index 0bc9edef97..d7a01049b0 100644 --- a/libavformat/rtpdec_mpa_robust.c +++ b/libavformat/rtpdec_mpa_robust.c @@ -33,7 +33,7 @@ struct PayloadContext { AVIOContext *fragment; }; -static inline void free_fragment(PayloadContext *data) +static void free_fragment(PayloadContext *data) { if (data->fragment) { uint8_t *p; diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c index d52de82435..a9d3fbbe00 100644 --- a/libavformat/rtpdec_xiph.c +++ b/libavformat/rtpdec_xiph.c @@ -49,7 +49,7 @@ struct PayloadContext { int split_pkts; }; -static inline void free_fragment(PayloadContext * data) +static void free_fragment(PayloadContext * data) { if (data->fragment) { uint8_t* p;