summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-30 13:45:44 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-10-30 13:52:03 +0100
commitcd37963684d8ee9819af15ccebe09d84839101dd (patch)
tree33c99132f79f095301b4e453c40f0b77005f5b1d /cmdutils.c
parent60e957476e338a200501e0bdad40b7bf0076b268 (diff)
parent381dc1a5ec0925b281c573457c413ae643567086 (diff)
Merge commit '381dc1a5ec0925b281c573457c413ae643567086'
* commit '381dc1a5ec0925b281c573457c413ae643567086': fate: ac3: Place E-AC-3 tests and AC-3 tests in different groups fate: Add shorthands for acodec PCM and ADPCM tests avconv: Drop unused function argument from do_video_stats() cmdutils: Conditionally compile libswscale-related bits aacenc: Drop some unused function arguments rtsp: Avoid a cast when calling strtol nut: support textual data nutenc: verbosely report unsupported negative pts Conflicts: cmdutils.c ffmpeg.c libavformat/nut.c libavformat/nutenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 98fc5f162f..f696700142 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -440,7 +440,8 @@ int opt_default(void *optctx, const char *opt, const char *arg)
int consumed = 0;
char opt_stripped[128];
const char *p;
- const AVClass *cc = avcodec_get_class(), *fc = avformat_get_class(), *sc, *swr_class;
+ const AVClass *cc = avcodec_get_class(), *fc = avformat_get_class();
+ const AVClass *sc, *swr_class;
if (!(p = strchr(opt, ':')))
p = opt + strlen(opt);