aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/swf.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-09-10 22:37:33 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-09-10 22:37:33 +0000
commit490579042adbd90921a175c3f738e662b93fe628 (patch)
tree34a8ede2ca4c5cc920389522c827ebece54e9615 /libavformat/swf.c
parent8c653280bd2b8606e276045c8b4f2deec3bf8772 (diff)
downloadffmpeg-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/swf.c')
-rw-r--r--libavformat/swf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/swf.c b/libavformat/swf.c
index 2e2201f960..5a93ae509a 100644
--- a/libavformat/swf.c
+++ b/libavformat/swf.c
@@ -318,7 +318,7 @@ static int swf_write_header(AVFormatContext *s)
}
static int swf_write_video(AVFormatContext *s,
- AVCodecContext *enc, uint8_t *buf, int size)
+ AVCodecContext *enc, const uint8_t *buf, int size)
{
ByteIOContext *pb = &s->pb;
static int tag_id = 0;
@@ -366,7 +366,7 @@ static int swf_write_video(AVFormatContext *s,
return 0;
}
-static int swf_write_audio(AVFormatContext *s, uint8_t *buf, int size)
+static int swf_write_audio(AVFormatContext *s, const uint8_t *buf, int size)
{
ByteIOContext *pb = &s->pb;
@@ -380,7 +380,7 @@ static int swf_write_audio(AVFormatContext *s, uint8_t *buf, int size)
}
static int swf_write_packet(AVFormatContext *s, int stream_index,
- uint8_t *buf, int size, int force_pts)
+ const uint8_t *buf, int size, int64_t pts)
{
AVCodecContext *codec = &s->streams[stream_index]->codec;
if (codec->codec_type == CODEC_TYPE_AUDIO)