Browse Source

mxfenc: Use correct printf format specifier for int64_t

libavformat/mxfenc.c:1861:9: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'int64_t' [-Wformat]
tags/n2.0
Diego Biurrun 12 years ago
parent
commit
a0d5ca4f0a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavformat/mxfenc.c

+ 2
- 1
libavformat/mxfenc.c View File

@@ -32,6 +32,7 @@

//#define DEBUG

#include <inttypes.h>
#include <math.h>
#include <time.h>

@@ -1856,7 +1857,7 @@ static int mxf_interleave_get_packet(AVFormatContext *s, AVPacket *out, AVPacket
}

*out = pktl->pkt;
av_dlog(s, "out st:%d dts:%lld\n", (*out).stream_index, (*out).dts);
av_dlog(s, "out st:%d dts:%"PRId64"\n", (*out).stream_index, (*out).dts);
s->packet_buffer = pktl->next;
if(s->streams[pktl->pkt.stream_index]->last_in_packet_buffer == pktl)
s->streams[pktl->pkt.stream_index]->last_in_packet_buffer= NULL;


Loading…
Cancel
Save