From ef78ded8954c3fca0ed138b29ee22dfe5a42fb2a Mon Sep 17 00:00:00 2001
From: Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
Date: Wed, 15 May 2013 07:36:15 +0900
Subject: [PATCH 1/2] avcodec: Add picture structure information to
 AVCodecParserContext.

---
 libavcodec/avcodec.h |    7 +++++++
 libavcodec/version.h |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 968f9e5..87a80fa 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3539,6 +3539,13 @@ typedef struct AVCodecParserContext {
     int duration;
 
     enum AVFieldOrder field_order;
+
+    /**
+     * A picture coded as which frame coded, or top or bottom field coded.
+     * Set to 0 for frame coded or unknown, 1 for top field coded and
+     * 2 for bottom field coded.
+     */
+    int picture_structure;
 } AVCodecParserContext;
 
 typedef struct AVCodecParser {
diff --git a/libavcodec/version.h b/libavcodec/version.h
index 2dc0f4d..afc2d35 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -27,7 +27,7 @@
  */
 
 #define LIBAVCODEC_VERSION_MAJOR 55
-#define LIBAVCODEC_VERSION_MINOR  4
+#define LIBAVCODEC_VERSION_MINOR  5
 #define LIBAVCODEC_VERSION_MICRO  0
 
 #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
-- 
1.7.7.msysgit.1

