[vlc-commits] codec: aes3: prepare to put pf_packetize and pf_decode into a union

Zhao Zhili git at videolan.org
Tue Jun 19 11:26:29 CEST 2018


vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Fri Jun  8 17:47:07 2018 +0800| [00dbb2deb1f266dcf979e343f2bd0f82a33288a4] | committer: Thomas Guillem

codec: aes3: prepare to put pf_packetize and pf_decode into a union

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=00dbb2deb1f266dcf979e343f2bd0f82a33288a4
---

 modules/codec/aes3.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/codec/aes3.c b/modules/codec/aes3.c
index d4873870df..088007781b 100644
--- a/modules/codec/aes3.c
+++ b/modules/codec/aes3.c
@@ -288,7 +288,6 @@ static int Open( decoder_t *p_dec, bool b_packetizer )
     {
         p_dec->fmt_out.i_codec = VLC_CODEC_302M;
 
-        p_dec->pf_decode       = NULL;
         p_dec->pf_packetize    = Packetize;
     }
     else
@@ -297,7 +296,6 @@ static int Open( decoder_t *p_dec, bool b_packetizer )
         p_dec->fmt_out.audio.i_bitspersample = 16;
 
         p_dec->pf_decode    = Decode;
-        p_dec->pf_packetize = NULL;
     }
     p_dec->pf_flush            = Flush;
     return VLC_SUCCESS;



More information about the vlc-commits mailing list