From f8232d79aff4fa419c2a0e7ccae38615c9c1157a Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 18 May 2015 16:58:40 +0300 Subject: gstreamer: remove 0.10 recipes gstreamer 0.10 is still available from meta-openembedded/meta-multimedia See also https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294 http://lists.openembedded.org/pipermail/openembedded-core/2015-April/104276.html (From OE-Core rev: fe44ac167a2a76531af3519f3889fce92024567b) Signed-off-by: Alexander Kanavin Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- .../0001-alsdec-check-block-length.patch | 61 ---------------------- 1 file changed, 61 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alsdec-check-block-length.patch (limited to 'meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alsdec-check-block-length.patch') diff --git a/meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alsdec-check-block-length.patch b/meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alsdec-check-block-length.patch deleted file mode 100644 index 73980f4265..0000000000 --- a/meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alsdec-check-block-length.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 6df0d3e2916c223dbe4262bf1b876dff1cb3f980 Mon Sep 17 00:00:00 2001 -From: Michael Niedermayer -Date: Wed, 12 Dec 2012 12:28:45 +0100 -Subject: [PATCH] alsdec: check block length - -Upstream-Status: Backport - -Commit 6df0d3e2916c223dbe4262bf1b876dff1cb3f980 release/1.0 - -Fix writing over the end - -Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind -Signed-off-by: Michael Niedermayer -(cherry picked from commit 0ceca269b66ec12a23bf0907bd2c220513cdbf16) - -Signed-off-by: Michael Niedermayer ---- - libavcodec/alsdec.c | 10 ++++++++-- - 1 file changed, 8 insertions(+), 2 deletions(-) - -diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c -index 46dd0b4..1095b01 100644 ---- a/gst-libs/ext/libav/libavcodec/alsdec.c -+++ b/gst-libs/ext/libav/libavcodec/alsdec.c -@@ -552,12 +552,15 @@ static void get_block_sizes(ALSDecContext *ctx, unsigned int *div_blocks, - - /** Read the block data for a constant block - */ --static void read_const_block_data(ALSDecContext *ctx, ALSBlockData *bd) -+static int read_const_block_data(ALSDecContext *ctx, ALSBlockData *bd) - { - ALSSpecificConfig *sconf = &ctx->sconf; - AVCodecContext *avctx = ctx->avctx; - GetBitContext *gb = &ctx->gb; - -+ if (bd->block_length <= 0) -+ return -1; -+ - *bd->raw_samples = 0; - *bd->const_block = get_bits1(gb); // 1 = constant value, 0 = zero block (silence) - bd->js_blocks = get_bits1(gb); -@@ -572,6 +575,8 @@ static void read_const_block_data(ALSDecContext *ctx, ALSBlockData *bd) - - // ensure constant block decoding by reusing this field - *bd->const_block = 1; -+ -+ return 0; - } - - -@@ -971,7 +976,8 @@ static int read_block(ALSDecContext *ctx, ALSBlockData *bd) - if (read_var_block_data(ctx, bd)) - return -1; - } else { -- read_const_block_data(ctx, bd); -+ if (read_const_block_data(ctx, bd) < 0) -+ return -1; - } - - return 0; --- -- cgit v1.2.3-54-g00ecf