I'm having issues with my current connection so I'm send patches as email.

Those are required for the mpegts improvements recently posted, I guess.

lu
>From 67f72c4d83bd4a261007ec4000c5be2f93fad428 Mon Sep 17 00:00:00 2001
From: Luca Barbato <[email protected]>
Date: Mon, 25 Jul 2011 16:13:04 +0200
Subject: [PATCH 1/2] avpacket: signal possibly corrupted packets

Use AV_PKT_FLAG_CORRUPT flag to mark packets that might be incomplete
or have errors. Formats that have a mean to validate their packets
should use this flag to deliver such information instead of silently
dropping the packets.
---
 libavcodec/avcodec.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index b6cac7c..7a0ad41 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -832,6 +832,7 @@ typedef struct AVPacket {
     int64_t convergence_duration;
 } AVPacket;
 #define AV_PKT_FLAG_KEY   0x0001
+#define AV_PKT_FLAG_CORRUPT   0x0002
 
 /**
  * Audio Video Frame.
-- 
1.7.6

>From 2609d2ad41b3a6920a9d6f4df5320237bce95d7e Mon Sep 17 00:00:00 2001
From: Luca Barbato <[email protected]>
Date: Mon, 25 Jul 2011 16:21:06 +0200
Subject: [PATCH 2/2] apichange: add an entry for AV_PKT_FLAG_CORRUPT

It piggybacks the api bump
---
 doc/APIchanges |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index c533818..9cceee0 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -13,6 +13,9 @@ libavutil:   2011-04-18
 
 API changes, most recent first:
 
+2011-07-25 - 67f72c4 - lavc 53.7.0
+  Add AV_PKT_FLAG_CORRUPT in AVPacket flags.
+
 2011-07-10 - a67c061 - lavf 53.3.0
   Add avformat_find_stream_info(), deprecate av_find_stream_info().
 
-- 
1.7.6

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to