]> git.pld-linux.org Git - packages/avifile.git/blame - avifile-opts.patch
- updated for 0.7.41
[packages/avifile.git] / avifile-opts.patch
CommitLineData
ad18a8bf
JB
1Something wrong with code or bug in gcc?
2With this "const" and -O2 optimization these structs were initialized only partially.
3--- avifile-0.7-0.7.38/player/main.cpp.orig 2003-05-25 01:24:42.000000000 +0200
4+++ avifile-0.7-0.7.38/player/main.cpp 2003-12-30 02:34:20.895903992 +0100
5@@ -57,7 +57,7 @@
6 AviPlayerInitParams apip;
7 apip.x = apip.y = 0x7fffffff;
8
9- static const avm::Args::Option sizesubopts[] =
10+ static avm::Args::Option sizesubopts[] =
11 {
12 { avm::Args::Option::INT, "w", "width", "window width", &apip.width, 8, 8192 },
13 { avm::Args::Option::INT, "h", "height", "window height", &apip.height, 2, 8192 },
14@@ -66,7 +66,7 @@
15 { avm::Args::Option::NONE }
16 };
17
18- static const avm::Args::Option opts[] =
19+ static avm::Args::Option opts[] =
20 {
21 { avm::Args::Option::BOOL, "a", "auto", "use autoquality for postprocessing", &apip.quiet },
22 { avm::Args::Option::SUBOPTIONS, "s", "size", "set windows size", (void*) &sizesubopts },
This page took 0.21599 seconds and 4 git commands to generate.