Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add initializers for decoding variables..

--HG--
extra : transplant_source : %811%23%11/%D2%9E%04%BBi%28%9Dg%0BW%D72%3EHT
  • Loading branch information...
commit 2af4c24e8d8229652b8aa00e9aaa540997fcc20c 1 parent 5f57b65
@toots toots authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  src/Makefile.in
  2. +2 −2 src/voaacenc_stubs.c
View
2  src/Makefile.in
@@ -34,7 +34,7 @@ CLIBS = $(ACLIBS:-l%=%)
LIBDIRS = $(LDFLAGS:-L%=%)
CC = @CC@
AR = @AR@
-CFLAGS = @CFLAGS@ -Wall -DCAML_NAME_SPACE
+CFLAGS = @CFLAGS@ -Wall -Wno-missing-braces -DCAML_NAME_SPACE
CPPFLAGS = @CPPFLAGS@
INCDIRS = @INC@
NO_CUSTOM = yes
View
4 src/voaacenc_stubs.c
@@ -155,8 +155,8 @@ CAMLprim value ocaml_voaacenc_encode(value e, value data, value ofs, value len)
encoder_t *enc = Encoder_val(e);
- VO_CODECBUFFER input, output;
- VO_AUDIO_OUTPUTINFO output_info;
+ VO_CODECBUFFER input = { 0 }, output = { 0 };
+ VO_AUDIO_OUTPUTINFO output_info = { 0 };
input.Buffer = malloc(Int_val(len));
if (input.Buffer == NULL)
Please sign in to comment.
Something went wrong with that request. Please try again.