diff options
| author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2015-05-18 17:12:47 +0300 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-22 20:14:07 +0200 |
| commit | 175406cdca39bf5b218bb4127a3e9c9bd11b653f (patch) | |
| tree | 1efd8f8282fb774dbd8d3ba8e912d57cbdbfed13 /meta-multimedia/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alac-fix-nb_samples-order-case.patch | |
| parent | 2b79eeb404af36cffb3f12097175556e5819a88d (diff) | |
| download | meta-openembedded-175406cdca39bf5b218bb4127a3e9c9bd11b653f.tar.gz | |
recipes-multimedia: add gstreamer-0.10 recipes
So that they can be removed from oe-core
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6294
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alac-fix-nb_samples-order-case.patch')
| -rw-r--r-- | meta-multimedia/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alac-fix-nb_samples-order-case.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alac-fix-nb_samples-order-case.patch b/meta-multimedia/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alac-fix-nb_samples-order-case.patch new file mode 100644 index 0000000000..10ce0f332c --- /dev/null +++ b/meta-multimedia/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/0001-alac-fix-nb_samples-order-case.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From e0884eadf6a15e93142131b695f48776f9a0ac31 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Michael Niedermayer <michaelni@gmx.at> | ||
| 3 | Date: Sat, 10 Nov 2012 17:14:04 +0100 | ||
| 4 | Subject: [PATCH] alac: fix nb_samples < order case | ||
| 5 | |||
| 6 | Upstream-Status: Backport | ||
| 7 | |||
| 8 | Commit e0884eadf6a15e93142131b695f48776f9a0ac31 release/1.0 | ||
| 9 | |||
| 10 | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind | ||
| 11 | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||
| 12 | (cherry picked from commit fd4f4923cce6a2cbf4f48640b4ac706e614a1594) | ||
| 13 | --- | ||
| 14 | libavcodec/alac.c | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/libavcodec/alac.c b/libavcodec/alac.c | ||
| 18 | index 9cd1737..e8e844a 100644 | ||
| 19 | --- a/gst-libs/ext/libav/libavcodec/alac.c | ||
| 20 | +++ b/gst-libs/ext/libav/libavcodec/alac.c | ||
| 21 | @@ -278,7 +278,7 @@ static void predictor_decompress_fir_ada | ||
| 22 | |||
| 23 | /* read warm-up samples */ | ||
| 24 | if (predictor_coef_num > 0) | ||
| 25 | - for (i = 0; i < predictor_coef_num; i++) { | ||
| 26 | + for (i = 0; i < predictor_coef_num && i < output_size; i++) { | ||
| 27 | int32_t val; | ||
| 28 | |||
| 29 | val = buffer_out[i] + error_buffer[i+1]; | ||
| 30 | -- | ||
