OSDN Git Service

* Add a duration field to the AVPacket
authorPhilip Gladstone <philipjsg@users.sourceforge.net>
Thu, 9 May 2002 01:15:45 +0000 (01:15 +0000)
committerPhilip Gladstone <philipjsg@users.sourceforge.net>
Thu, 9 May 2002 01:15:45 +0000 (01:15 +0000)
Originally committed as revision 459 to svn://svn.ffmpeg.org/ffmpeg/trunk

libav/avformat.h

index 0f04e71..e17c7a5 100644 (file)
@@ -15,6 +15,7 @@ typedef struct AVPacket {
     int size;
     int stream_index;
     int flags;
+    int duration;       
 #define PKT_FLAG_KEY   0x0001
 #define PKT_FLAG_DROPPED_FRAME   0x0002
 } AVPacket;