summaryrefslogtreecommitdiff
path: root/libav/utils.c
diff options
context:
space:
mode:
authorJuanjo <pulento@users.sourceforge.net>2002-04-07 21:44:29 +0000
committerJuanjo <pulento@users.sourceforge.net>2002-04-07 21:44:29 +0000
commit10bb7023a224adbcd2b97d5115db57bf13094906 (patch)
tree85921bed3e9756d92ba95b8bd3f74e9cea9d0866 /libav/utils.c
parent3bf43d42eda38abd5b75d004e1431d71aacfbe48 (diff)
- 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/utils.c')
-rw-r--r--libav/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libav/utils.c b/libav/utils.c
index 7315ebdc92..8570be2055 100644
--- a/libav/utils.c
+++ b/libav/utils.c
@@ -375,10 +375,10 @@ void av_close_input_file(AVFormatContext *s)
}
-int av_write_packet(AVFormatContext *s, AVPacket *pkt)
+int av_write_packet(AVFormatContext *s, AVPacket *pkt, int force_pts)
{
/* XXX: currently, an emulation because internal API must change */
- return s->format->write_packet(s, pkt->stream_index, pkt->data, pkt->size);
+ return s->format->write_packet(s, pkt->stream_index, pkt->data, pkt->size, force_pts);
}
/* "user interface" functions */