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>
pull/113/head^2
Martin Storsjö 10 years ago
parent ec96a89c3e
commit 88434f9725
  1. 2
      libavformat/rtpdec_jpeg.c
  2. 2
      libavformat/rtpdec_mpa_robust.c
  3. 2
      libavformat/rtpdec_xiph.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;

@ -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;

@ -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;

Loading…
Cancel
Save