You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avformat/wtvenc: do not output negative 'third timestamp' field
Fixes ticket #3659.
This commit is contained in:
@ -450,7 +450,7 @@ static void write_timestamp(AVFormatContext *s, AVPacket *pkt)
|
||||
write_pad(pb, 8);
|
||||
avio_wl64(pb, pkt->pts == AV_NOPTS_VALUE ? -1 : pkt->pts);
|
||||
avio_wl64(pb, pkt->pts == AV_NOPTS_VALUE ? -1 : pkt->pts);
|
||||
avio_wl64(pb, pkt->pts == AV_NOPTS_VALUE ? -1 : pkt->pts);
|
||||
avio_wl64(pb, pkt->pts == AV_NOPTS_VALUE ? 0 : pkt->pts);
|
||||
avio_wl64(pb, 0);
|
||||
avio_wl64(pb, par->codec_type == AVMEDIA_TYPE_VIDEO && (pkt->flags & AV_PKT_FLAG_KEY) ? 1 : 0);
|
||||
avio_wl64(pb, 0);
|
||||
|
Reference in New Issue
Block a user