Module: libav
Branch: master
Commit: 88434f9725e7c9484dcbcf323566ae88a2904f32

Author:    Martin Storsjö <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Tue Feb 24 12:56:51 2015 +0200

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ö <[email protected]>

---

 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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to