diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-11 13:40:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-11 13:40:40 +0200 |
commit | 9c409e568f3f72083fbc6b2deb5e2a226ae70172 (patch) | |
tree | 7aae9fd065652cd6afc887ccc36d02df98549195 /libavformat/mpegtsenc.c | |
parent | 940be96540ee58e65b3730665b32819dda8d8d32 (diff) | |
download | ffmpeg-9c409e568f3f72083fbc6b2deb5e2a226ae70172.tar.gz |
mpegtsenc: fix delay type
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r-- | libavformat/mpegtsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 36e958f49c..8d38d01cf1 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -990,7 +990,7 @@ static int mpegts_write_packet_internal(AVFormatContext *s, AVPacket *pkt) uint8_t *data= NULL; MpegTSWrite *ts = s->priv_data; MpegTSWriteStream *ts_st = st->priv_data; - const uint64_t delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE)*2; + const int64_t delay = av_rescale(s->max_delay, 90000, AV_TIME_BASE)*2; int64_t dts = AV_NOPTS_VALUE, pts = AV_NOPTS_VALUE; if (ts->reemit_pat_pmt) { |