[FFmpeg-cvslog] r15991 - in trunk/libavformat: internal.h mpegts.c
diego
subversion
Wed Dec 3 17:47:07 CET 2008
Author: diego
Date: Wed Dec 3 17:47:07 2008
New Revision: 15991
Log:
Move declaration of av_set_program_name and av_program_add_stream_index
to a more sensible place.
Modified:
trunk/libavformat/internal.h
trunk/libavformat/mpegts.c
Modified: trunk/libavformat/internal.h
==============================================================================
--- trunk/libavformat/internal.h (original)
+++ trunk/libavformat/internal.h Wed Dec 3 17:47:07 2008
@@ -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 */
Modified: trunk/libavformat/mpegts.c
==============================================================================
--- trunk/libavformat/mpegts.c (original)
+++ trunk/libavformat/mpegts.c Wed Dec 3 17:47:07 2008
@@ -38,8 +38,6 @@ typedef struct PESContext PESContext;
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,
More information about the ffmpeg-cvslog
mailing list