Browse Source

opencore-amr: Add missing initializer braces to shut up gcc warning.

This fixes the warning:
libavcodec/libopencore-amr.c:91: warning: missing braces around initializer
tags/n0.9
Diego Biurrun 14 years ago
parent
commit
8dd52d8202
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/libopencore-amr.c

+ 1
- 1
libavcodec/libopencore-amr.c View File

@@ -88,7 +88,7 @@ typedef struct AMRContext {
} AMRContext;

static const AVOption options[] = {
{ "dtx", "Allow DTX (generate comfort noise)", offsetof(AMRContext, enc_dtx), FF_OPT_TYPE_INT, 0, 0, 1, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
{ "dtx", "Allow DTX (generate comfort noise)", offsetof(AMRContext, enc_dtx), FF_OPT_TYPE_INT, { 0 }, 0, 1, AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_ENCODING_PARAM },
{ NULL }
};



Loading…
Cancel
Save