On 8/2/11 2:06 AM, Ronald S. Bultje wrote:
That's not what I meant. The documentation is wrongly placed. It shouldn't be:
The updated patch hadn't been published yet =) I understood what you
meant ^^;
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -791,6 +791,9 @@ typedef struct AVPacket {
uint8_t *data;
int size;
int stream_index;
+ /**
+ * A combination of AV_PKT_FLAG values
+ */
int flags;
/**
* Additional packet data that can be provided by the container.
@@ -831,7 +834,8 @@ typedef struct AVPacket {
*/
int64_t convergence_duration;
} AVPacket;
-#define AV_PKT_FLAG_KEY 0x0001
+#define AV_PKT_FLAG_KEY 0x0001 ///< The packet contains a keyframe
+#define AV_PKT_FLAG_CORRUPT 0x0002 ///< The packet content is corrupted
Is that what you had in mind?
lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel