ac3enc: Restructure DEBUG ifdefs to avoid unused function parameter warnings
This commit is contained in:
parent
5eef983297
commit
367f95af55
@ -1676,9 +1676,9 @@ void ff_ac3_output_frame(AC3EncodeContext *s, unsigned char *frame)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
static void dprint_options(AC3EncodeContext *s)
|
static void dprint_options(AC3EncodeContext *s)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
|
||||||
AVCodecContext *avctx = s->avctx;
|
AVCodecContext *avctx = s->avctx;
|
||||||
AC3EncOptions *opt = &s->options;
|
AC3EncOptions *opt = &s->options;
|
||||||
char strbuf[32];
|
char strbuf[32];
|
||||||
@ -1787,8 +1787,10 @@ static void dprint_options(AC3EncodeContext *s)
|
|||||||
ff_dlog(avctx, "extended bitstream info 2: {not written}\n");
|
ff_dlog(avctx, "extended bitstream info 2: {not written}\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
#define dprint_options(x) do {} while(0)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define FLT_OPTION_THRESHOLD 0.01
|
#define FLT_OPTION_THRESHOLD 0.01
|
||||||
|
Loading…
x
Reference in New Issue
Block a user