Mercurial > libavformat.hg
diff avformat.h @ 241:3d92f793fd67 libavformat
64 bit pts for writing - more const usage
| author | bellard |
|---|---|
| date | Wed, 10 Sep 2003 22:37:33 +0000 |
| parents | b99548e3ab84 |
| children | 4d5d04d45230 |
line wrap: on
line diff
--- a/avformat.h Wed Sep 10 13:00:24 2003 +0000 +++ b/avformat.h Wed Sep 10 22:37:33 2003 +0000 @@ -7,8 +7,8 @@ #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 @@ 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;
