# HG changeset patch # User diego # Date 1228322827 0 # Node ID 59db9e761b38329c26f46a03222e8de80f575b6e # Parent dcdf236c9909b9c0eb216c5a62eb12ff19fcf83f Move declaration of av_set_program_name and av_program_add_stream_index to a more sensible place. diff -r dcdf236c9909 -r 59db9e761b38 internal.h --- a/internal.h Wed Dec 03 15:23:30 2008 +0000 +++ b/internal.h Wed Dec 03 16:47:07 2008 +0000 @@ -22,7 +22,11 @@ #define AVFORMAT_INTERNAL_H #include +#include "avformat.h" char *ff_data_to_hex(char *buf, const uint8_t *src, int size); +void av_set_program_name(AVProgram *program, char *provider_name, char *name); +void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); + #endif /* AVFORMAT_INTERNAL_H */ diff -r dcdf236c9909 -r 59db9e761b38 mpegts.c --- a/mpegts.c Wed Dec 03 15:23:30 2008 +0000 +++ b/mpegts.c Wed Dec 03 16:47:07 2008 +0000 @@ -38,8 +38,6 @@ static PESContext* add_pes_stream(MpegTSContext *ts, int pid, int pcr_pid, int stream_type); static AVStream* new_pes_av_stream(PESContext *pes, uint32_t code); -void av_set_program_name(AVProgram *program, char *provider_name, char *name); -void av_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int idx); enum MpegTSFilterType { MPEGTS_PES,