On 8/1/11 10:49 PM, Ronald S. Bultje wrote:
Hi,
On Mon, Aug 1, 2011 at 8:49 AM, Luca Barbato<[email protected]> wrote:
+ /**
+ * Signal if the current packet is a keyframe (AV_PKT_FLAG_KEY) or
+ * if the packet is incomplete/corrupted (AV_PKT_FLAG_CORRUPT)
+ */
int flags;
/**
* Additional packet data that can be provided by the container.
@@ -832,6 +836,7 @@ typedef struct AVPacket {
int64_t convergence_duration;
} AVPacket;
#define AV_PKT_FLAG_KEY 0x0001
+#define AV_PKT_FLAG_CORRUPT 0x0002
Please add the documentation with the individual flags, not on the
top. The "int flags" field should just say "a combination of
AV_PKT_FLAG values".
I tersely documented those two values, later we might try to improve the
documentation a little more.
If there aren't more comments I'd push the whole set.
lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel