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/rm.c | |
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/rm.c')
-rw-r--r-- | libavformat/rm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/rm.c b/libavformat/rm.c index e99ae8c870..2dcd5ef577 100644 --- a/libavformat/rm.c +++ b/libavformat/rm.c @@ -323,7 +323,7 @@ static int rm_write_header(AVFormatContext *s) return 0; } -static int rm_write_audio(AVFormatContext *s, uint8_t *buf, int size) +static int rm_write_audio(AVFormatContext *s, const uint8_t *buf, int size) { uint8_t *buf1; RMContext *rm = s->priv_data; @@ -348,7 +348,7 @@ static int rm_write_audio(AVFormatContext *s, uint8_t *buf, int size) return 0; } -static int rm_write_video(AVFormatContext *s, uint8_t *buf, int size) +static int rm_write_video(AVFormatContext *s, const uint8_t *buf, int size) { RMContext *rm = s->priv_data; ByteIOContext *pb = &s->pb; @@ -389,7 +389,7 @@ static int rm_write_video(AVFormatContext *s, uint8_t *buf, int size) } static int rm_write_packet(AVFormatContext *s, int stream_index, - uint8_t *buf, int size, int force_pts) + const uint8_t *buf, int size, int64_t pts) { if (s->streams[stream_index]->codec.codec_type == CODEC_TYPE_AUDIO) |