diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-09-10 22:37:33 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-09-10 22:37:33 +0000 |
commit | 490579042adbd90921a175c3f738e662b93fe628 (patch) | |
tree | 34a8ede2ca4c5cc920389522c827ebece54e9615 /libavformat/avformat.h | |
parent | 8c653280bd2b8606e276045c8b4f2deec3bf8772 (diff) | |
download | ffmpeg-490579042adbd90921a175c3f738e662b93fe628.tar.gz |
64 bit pts for writing - more const usage
Originally committed as revision 2255 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index b36a0b6f4b..d1d0ba365f 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -7,8 +7,8 @@ extern "C" { #define LIBAVFORMAT_VERSION_INT 0x000408 #define LIBAVFORMAT_VERSION "0.4.8" -#define LIBAVFORMAT_BUILD 4607 -#define LIBAVFORMAT_BUILD_STR "4607" +#define LIBAVFORMAT_BUILD 4608 +#define LIBAVFORMAT_BUILD_STR "4608" #define LIBAVFORMAT_IDENT "FFmpeg" LIBAVFORMAT_VERSION "b" LIBAVFORMAT_BUILD_STR @@ -124,10 +124,9 @@ typedef struct AVOutputFormat { enum CodecID audio_codec; /* default audio codec */ enum CodecID video_codec; /* default video codec */ int (*write_header)(struct AVFormatContext *); - /* XXX: change prototype for 64 bit pts */ int (*write_packet)(struct AVFormatContext *, int stream_index, - unsigned char *buf, int size, int force_pts); + const uint8_t *buf, int size, int64_t pts); int (*write_trailer)(struct AVFormatContext *); /* can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER */ int flags; |