diff options
author | Juanjo <pulento@users.sourceforge.net> | 2002-04-07 21:44:29 +0000 |
---|---|---|
committer | Juanjo <pulento@users.sourceforge.net> | 2002-04-07 21:44:29 +0000 |
commit | 10bb7023a224adbcd2b97d5115db57bf13094906 (patch) | |
tree | 85921bed3e9756d92ba95b8bd3f74e9cea9d0866 /libav/swf.c | |
parent | 3bf43d42eda38abd5b75d004e1431d71aacfbe48 (diff) | |
download | ffmpeg-10bb7023a224adbcd2b97d5115db57bf13094906.tar.gz |
- Added force_pts to av_write_packet() to be able to force PTS, this helps
(and fix) stream copying. By now force_pts it's just honoured by the MPEG
muxer. ASF could honour this also, but it should be fixed to use Tickers
first.
- MPEG audio decoder exports it's frame size in bytes.
- Hope this fix the floating point exception found in ffserver.
Originally committed as revision 382 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/swf.c')
-rw-r--r-- | libav/swf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libav/swf.c b/libav/swf.c index ebd4ada886..27755a3969 100644 --- a/libav/swf.c +++ b/libav/swf.c @@ -378,7 +378,7 @@ static int swf_write_audio(AVFormatContext *s, UINT8 *buf, int size) } static int swf_write_packet(AVFormatContext *s, int stream_index, - UINT8 *buf, int size) + UINT8 *buf, int size, int force_pts) { AVCodecContext *codec = &s->streams[stream_index]->codec; if (codec->codec_type == CODEC_TYPE_AUDIO) |