[vlc-commits] commit: x264: remove double assignement ( Rafaël Carré )

git at videolan.org git at videolan.org
Thu Nov 4 17:20:52 CET 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Thu Nov  4 16:45:11 2010 +0100| [c83d4a8d5ca15f8e9ade8634afc5550f1afd0b8e] | committer: Rafaël Carré 

x264: remove double assignement

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

 modules/codec/x264.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index d483530..c34b593 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -1260,9 +1260,6 @@ static int  Open ( vlc_object_t *p_this )
     }
 
     /* get the globals headers */
-    p_enc->fmt_out.i_extra = 0;
-    p_enc->fmt_out.p_extra = NULL;
-
     p_enc->fmt_out.i_extra = x264_encoder_headers( p_sys->h, &nal, &i_nal );
     p_enc->fmt_out.p_extra = malloc( p_enc->fmt_out.i_extra );
     if( !p_enc->fmt_out.p_extra )



More information about the vlc-commits mailing list