Browse Source

timestamps_filter: switch function to static inline

Being static in a header file doesn't indicate to the compiler that the
function might not be used.
pull/167/head
Alexandre Janniaux 2 years ago
committed by Steve Lhomme
parent
commit
39308002af
  1. 2
      modules/demux/timestamps_filter.h

2
modules/demux/timestamps_filter.h

@ -359,7 +359,7 @@ static const struct es_out_callbacks timestamps_filter_es_out_cbs =
.destroy = timestamps_filter_es_out_Delete,
};
static es_out_t * timestamps_filter_es_out_New(es_out_t *orig)
static inline es_out_t * timestamps_filter_es_out_New(es_out_t *orig)
{
struct tf_es_out_s *tf = malloc(sizeof(*tf));
if(!tf)

Loading…
Cancel
Save