summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-02-24 12:56:51 +0200
committerMartin Storsjö <martin@martin.st>2015-02-24 23:07:25 +0200
commit88434f9725e7c9484dcbcf323566ae88a2904f32 (patch)
tree68592d61eb204cbb301049798bbf71509ef3c576
parentec96a89c3e507cf0fb1f2b159b28a53f2bad9a74 (diff)
downloadffmpeg-streaming-88434f9725e7c9484dcbcf323566ae88a2904f32.zip
ffmpeg-streaming-88434f9725e7c9484dcbcf323566ae88a2904f32.tar.gz
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ö <martin@martin.st>
-rw-r--r--libavformat/rtpdec_jpeg.c2
-rw-r--r--libavformat/rtpdec_mpa_robust.c2
-rw-r--r--libavformat/rtpdec_xiph.c2
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;
OpenPOWER on IntegriCloud