From 948f3c19a8bd069768ca411212aaf8c1ed96b10d Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 26 Sep 2015 18:13:55 +0200 Subject: lavc: Make AVPacket.duration int64, and deprecate convergence_duration Note that convergence_duration had another meaning, one which was in practice never used. The only real use for it was a 64 bit replacement for the duration field. It's better just to make duration 64 bits, and to get rid of it. Signed-off-by: Vittorio Giovara --- libavformat/framecrcenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/framecrcenc.c') diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c index 4d5483a70e..470442e27f 100644 --- a/libavformat/framecrcenc.c +++ b/libavformat/framecrcenc.c @@ -30,7 +30,7 @@ static int framecrc_write_packet(struct AVFormatContext *s, AVPacket *pkt) uint32_t crc = av_adler32_update(0, pkt->data, pkt->size); char buf[256]; - snprintf(buf, sizeof(buf), "%d, %10"PRId64", %10"PRId64", %8d, %8d, 0x%08"PRIx32"\n", + snprintf(buf, sizeof(buf), "%d, %10"PRId64", %10"PRId64", %8"PRId64", %8d, 0x%08"PRIx32"\n", pkt->stream_index, pkt->dts, pkt->pts, pkt->duration, pkt->size, crc); avio_write(s->pb, buf, strlen(buf)); return 0; -- cgit v1.2.3