Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-08-31 14:35:47 +0400
committerMartin Storsjö <martin@martin.st>2012-09-05 00:16:11 +0400
commit686a329395bf4b602445dd5015fab507b01ad4f2 (patch)
tree54e128fec3886421340753b8155265add1761628 /libavutil/opt.h
parent21bc44038491e525335ad763883b0288402ff6a0 (diff)
avopt: Reorder the default_val struct, making i64 the first field
Also mention this change in APIchanges. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavutil/opt.h')
-rw-r--r--libavutil/opt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/opt.h b/libavutil/opt.h
index 8f800fcf98..775267f9ea 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -261,10 +261,10 @@ typedef struct AVOption {
* the default value for scalar options
*/
union {
+ int64_t i64;
double dbl;
const char *str;
/* TODO those are unused now */
- int64_t i64;
AVRational q;
} default_val;
double min; ///< minimum valid value for the option