OSDN Git Service

proper type and initialization of pva_pts
authorIvo van Poorten <ivop@euronet.nl>
Sat, 5 Jan 2008 22:13:27 +0000 (22:13 +0000)
committerIvo van Poorten <ivop@euronet.nl>
Sat, 5 Jan 2008 22:13:27 +0000 (22:13 +0000)
Originally committed as revision 11425 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/pva.c

index 87f79a0..d4e6d05 100644 (file)
@@ -64,7 +64,7 @@ static int pva_read_packet(AVFormatContext *s, AVPacket *pkt) {
     ByteIOContext *pb = s->pb;
     PVAContext *pvactx = s->priv_data;
     int ret, syncword, streamid, reserved, flags, length, pts_flag;
-    long long pva_pts = 0;
+    int64_t pva_pts = AV_NOPTS_VALUE;
 
     syncword = get_be16(pb);
     streamid = get_byte(pb);