summaryrefslogtreecommitdiffstats
path: root/vlc/build/vlc-2.0.8_update_block_pointer.patch
blob: bf06fec53e5d104c63689e10d35f6ff697fa71a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Rafal Carr <funman@videolan.org>
Date: Tue, 30 Jul 2013 21:40:12 +0000 (+0200)
Subject: avcodec audio decoder: update block pointer
X-Git-Tag: 2.0.8a^0
X-Git-Url: http://git.videolan.org/?p=vlc%2Fvlc-2.0.git;a=commitdiff_plain;h=68cf50be986313f7bb8e547dee3a547bc39926b7

avcodec audio decoder: update block pointer

fixes ed616a22067
---

diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c
index 27b307c..a60b45f 100644
--- a/modules/codec/avcodec/audio.c
+++ b/modules/codec/avcodec/audio.c
@@ -264,7 +264,6 @@ aout_buffer_t * DecodeAudio ( decoder_t *p_dec, block_t **pp_block )
     if( !pp_block || !*pp_block ) return NULL;
 
     block_t *p_block = *pp_block;
-    pp_block = NULL;
 
     if( !p_sys->p_context->extradata_size && p_dec->fmt_in.i_extra &&
         p_sys->b_delayed_open)