changeset 4059:59db9e761b38 libavformat

Move declaration of av_set_program_name and av_program_add_stream_index to a more sensible place.
author diego
date Wed, 03 Dec 2008 16:47:07 +0000
parents dcdf236c9909
children 2d23165a1518
files internal.h mpegts.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 <stdint.h>
+#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 */
--- 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,