ffmpeg | branch: master | Martin Storsjö <mar...@martin.st> | Tue Feb 24 
12:56:51 2015 +0200| [88434f9725e7c9484dcbcf323566ae88a2904f32] | committer: 
Martin Storsjö

rtpdec: Remove unnecessary inline attributes

These functions are far from performance critical, so there's no
point in marking them as inline.

Signed-off-by: Martin Storsjö <mar...@martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=88434f9725e7c9484dcbcf323566ae88a2904f32
---

 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 68ce6d8..b49185a 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 0bc9ede..d7a0104 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 d52de82..a9d3fbb 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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to