Hi!

Attached patch fixes ticket #5323 for me.

Please comment, Carl Eugen
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index cb125d8..9af44e3 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -83,9 +83,9 @@ static const AVOption options[] = {
     { "fragment_index", "Fragment number of the next fragment", 
offsetof(MOVMuxContext, fragments), AV_OPT_TYPE_INT, {.i64 = 1}, 1, INT_MAX, 
AV_OPT_FLAG_ENCODING_PARAM},
     { "mov_gamma", "gamma value for gama atom", offsetof(MOVMuxContext, 
gamma), AV_OPT_TYPE_FLOAT, {.dbl = 0.0 }, 0.0, 10, AV_OPT_FLAG_ENCODING_PARAM},
     { "frag_interleave", "Interleave samples within fragments (max number of 
consecutive samples, lower is tighter interleaving, but with more overhead)", 
offsetof(MOVMuxContext, frag_interleave), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 
INT_MAX, AV_OPT_FLAG_ENCODING_PARAM },
-    { "encryption_scheme",    "Configures the encryption scheme, allowed 
values are none, cenc-aes-ctr", offsetof(MOVMuxContext, encryption_scheme_str), 
  AV_OPT_TYPE_STRING, {.str = NULL}, .flags = AV_OPT_FLAG_ENCODING_PARAM, .unit 
= "movflags" },
-    { "encryption_key", "The media encryption key (hex)", 
offsetof(MOVMuxContext, encryption_key), AV_OPT_TYPE_BINARY, .flags = 
AV_OPT_FLAG_ENCODING_PARAM, .unit = "movflags" },
-    { "encryption_kid", "The media encryption key identifier (hex)", 
offsetof(MOVMuxContext, encryption_kid), AV_OPT_TYPE_BINARY, .flags = 
AV_OPT_FLAG_ENCODING_PARAM, .unit = "movflags" },
+    { "encryption_scheme",    "Configures the encryption scheme, allowed 
values are none, cenc-aes-ctr", offsetof(MOVMuxContext, encryption_scheme_str), 
  AV_OPT_TYPE_STRING, {.str = NULL}, .flags = AV_OPT_FLAG_ENCODING_PARAM },
+    { "encryption_key", "The media encryption key (hex)", 
offsetof(MOVMuxContext, encryption_key), AV_OPT_TYPE_BINARY, .flags = 
AV_OPT_FLAG_ENCODING_PARAM },
+    { "encryption_kid", "The media encryption key identifier (hex)", 
offsetof(MOVMuxContext, encryption_kid), AV_OPT_TYPE_BINARY, .flags = 
AV_OPT_FLAG_ENCODING_PARAM },
     { NULL },
 };
 
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to