Skip to contentSkip to conversation

omapdrmtest: bump srcrev, update patch to init variable

PATCH New Denys Dmytriyenko 1 participant 1 message Sep 11, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omapdrmtest: bump srcrev, update patch to init variable

From: Denys Dmytriyenko <[email protected]>

---
 .../0001-util-demux-update-use-of-deprecated-API.patch   | 16 +++++++++-------
 .../recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb    |  2 +-
 2 files changed, 10 insertions(+), 8 deletions(-)
meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest/0001-util-demux-update-use-of-deprecated-API.patch +9 -7
index ca3c431..387568e 100644
@@ -1,22 +1,24 @@
-From 7e3a5727e020ea05702d0d1d819409619c7980c1 Mon Sep 17 00:00:00 2001
+From 50a533a969a0efd9c4c7713ad571b8f853b1b7e5 Mon Sep 17 00:00:00 2001
 From: Denys Dmytriyenko <[email protected]>
-Date: Fri, 21 Aug 2015 13:51:20 -0400
+Date: Fri, 11 Sep 2015 12:57:56 -0400
 Subject: [PATCH] util/demux: update use of deprecated API
 
 Signed-off-by: Denys Dmytriyenko <[email protected]>
 ---
- util/demux.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
+ util/demux.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
 
 diff --git a/util/demux.c b/util/demux.c
-index fdd4b77..722fed7 100644
+index d739519..e932ac4 100644
 --- a/util/demux.c
 +++ b/util/demux.c
-@@ -46,17 +46,17 @@ static AVFormatContext *
+@@ -44,18 +44,18 @@ int get_esds_offset(const char *filename, struct demux *demux);
+ static AVFormatContext *
  open_file(const char *filename)
  {
- 	AVFormatContext *afc;
+-	AVFormatContext *afc;
 -	int err = av_open_input_file(&afc, filename, NULL, 0, NULL);
++	static AVFormatContext *afc = NULL;
 +	int err = avformat_open_input(&afc, filename, NULL, NULL);
  
  	if (!err)
meta-arago-extras/recipes-graphics/omapdrmtest/omapdrmtest_1.0.0.bb +1 -1
index 5a850f7..ac45da3 100644
@@ -7,7 +7,7 @@ DEPENDS += "libav libdce libdrm libgbm omap5-sgx-ddk-um-linux wayland"
 inherit autotools pkgconfig
 
 PR = "r8"
-SRCREV = "24db635c4689291ae350d0c940b30ba7203dc5b7"
+SRCREV = "152713c45d7972ed08f506255c43ce7ff634a9f5"
 
 SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \
 	file://0001-util-demux-update-use-of-deprecated-API.patch \
Signature · 1 line
2.2.0