#include <libavutil/rational.h>

typedef struct {
  char *fname;
  int w, h, bitrate;
  AVRational fps;
} output_params;

void lpms_init();
void lpms_deinit();
int  lpms_rtmp2hls(char *listen, char *outf, char *ts_tmpl, char *seg_time, char *seg_start);
int  lpms_transcode(char *inp, output_params *params, int nb_outputs);
int  lpms_length(char *inp, int ts_max, int packet_max);

#ifndef _LPMS_FFMPEG_H_
#define _LPMS_FFMPEG_H_

#include <libavutil/rational.h>

typedef struct {
  char *fname;
  int w, h, bitrate;
  AVRational fps;
} output_params;

void lpms_init();
int  lpms_rtmp2hls(char *listen, char *outf, char *ts_tmpl, char *seg_time, char *seg_start);
int  lpms_transcode(char *inp, output_params *params, int nb_outputs);

#endif // _LPMS_FFMPEG_H_

Remove unused declarations from headers.
ffmpeg: Remove unused declarations from headers.

Also add some include guards.
