summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc_template.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-05-29 19:16:46 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-07-27 11:51:46 -0400
commit1bca72e1bd2fa5db2585a58e452c384ca73bf0eb (patch)
treea1111f2c8b47861bcb20798b85207df67e3cb3b9 /libavcodec/ac3enc_template.c
parente72f3d10f64f5c65a67aa21dcc79a85ee55e912e (diff)
downloadffmpeg-1bca72e1bd2fa5db2585a58e452c384ca73bf0eb.tar.gz
eac3enc: support writing of basic mixing and info metadata
Diffstat (limited to 'libavcodec/ac3enc_template.c')
-rw-r--r--libavcodec/ac3enc_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc_template.c b/libavcodec/ac3enc_template.c
index c4e2a121bf..103e7b1a96 100644
--- a/libavcodec/ac3enc_template.c
+++ b/libavcodec/ac3enc_template.c
@@ -423,7 +423,7 @@ int AC3_NAME(encode_frame)(AVCodecContext *avctx, unsigned char *frame,
const SampleType *samples = data;
int ret;
- if (!s->eac3 && s->options.allow_per_frame_metadata) {
+ if (s->options.allow_per_frame_metadata) {
ret = ff_ac3_validate_metadata(s);
if (ret)
return ret;