recipes-kernel: Add GLSDK specific kernel tree for omap-a15
[glsdk/meta-ti-glsdk.git] / files / 0001-omapfbplay-switch-CODEC_TYPE_VIDEO-to-AVMEDIA_TYPE_V.patch
1 From 71670f4a067efc169018a9ec9321ccc9af3bbd59 Mon Sep 17 00:00:00 2001
2 From: Roger Monk <r-monk@ti.com>
3 Date: Thu, 10 May 2012 14:50:11 +0100
4 Subject: [PATCH] omapfbplay:  switch CODEC_TYPE_VIDEO to AVMEDIA_TYPE_VIDEO
6 Signed-off-by: Roger Monk <r-monk@ti.com>
7 ---
8  omapfbplay.c |    2 +-
9  1 files changed, 1 insertions(+), 1 deletions(-)
11 diff --git a/omapfbplay.c b/omapfbplay.c
12 index ad35bd5..818cf2c 100644
13 --- a/omapfbplay.c
14 +++ b/omapfbplay.c
15 @@ -74,7 +74,7 @@ find_stream(AVFormatContext *afc)
16      int i;
17  
18      for (i = 0; i < afc->nb_streams; i++) {
19 -        if (afc->streams[i]->codec->codec_type == CODEC_TYPE_VIDEO && !st)
20 +        if (afc->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && !st)
21              st = afc->streams[i];
22          else
23              afc->streams[i]->discard = AVDISCARD_ALL;
24 -- 
25 1.7.0.4