OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bca72e
)
cosmetics: reindent
author
Justin Ruggles
<justin.ruggles@gmail.com>
Mon, 25 Jul 2011 16:54:25 +0000
(12:54 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Wed, 27 Jul 2011 15:51:46 +0000
(11:51 -0400)
libavcodec/ac3enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3enc.c
b/libavcodec/ac3enc.c
index
a3b77ec
..
c138f99
100644
(file)
--- a/
libavcodec/ac3enc.c
+++ b/
libavcodec/ac3enc.c
@@
-2134,9
+2134,9
@@
static av_cold int validate_options(AC3EncodeContext *s)
if (s->cutoff > (s->sample_rate >> 1))
s->cutoff = s->sample_rate >> 1;
-
ret = ff_ac3_validate_metadata(s);
-
if (ret)
-
return ret;
+ ret = ff_ac3_validate_metadata(s);
+ if (ret)
+ return ret;
s->rematrixing_enabled = s->options.stereo_rematrixing &&
(s->channel_mode == AC3_CHMODE_STEREO);