Comments (4)
I face this issue while compiling ffmpeg qsv module:
qsv.c
Assertion failed: cache2.n[0] == 2, file convert.c, line 546
I can workaround this by replacing MFX_MAKEFOURCC define with actual values:
#define MFX_MAKEFOURCC(A,B,C,D) ((((int)A))+(((int)B)<<8)+(((int)C)<<16)+(((int)D)<<24))
MFX_FOURCC_YV12 = MFX_MAKEFOURCC('Y','V','1','2'),
from c99-to-c89.
Any progress on resolving this issue? I'm having problems with this as well and would appreciate a response. Thanks!
from c99-to-c89.
Thank @lieff show me the way to modify mfxcommon.h:
#define MFX_MAKEFOURCC(A,B,C,D) (((D*256+C)*256+B)*256+A)
That passed the c99-to-c89 converter!
from c99-to-c89.
Glad to hear!
from c99-to-c89.
Related Issues (16)
- #define causes c99conv to crash HOT 4
- Incorrect conversion of multiword specificators in loop statements
- Preprocessor directives can be corrupted by newly generated scopes HOT 3
- Infinite loop while converting multidimensional initialization list
- Converting of a nested designator failes
- Compilation with dynamic runtime libraries (--extra-cflags="-MD") causes unresolved external HOT 1
- conceals failures from cl
- Support for variable length arrays HOT 1
- Support complex numbers
- The wrapper identifies the output file as the input source file HOT 2
- For loops with variable declaration messes up token input/output positions
- fails to handle __declspec(dllimport) properly HOT 9
- Nested loops are mangled HOT 1
- Mangled else if construct when converting inline structs
- regression in c99-to-c89 1.0.2: makedef may generate incorrect def-file HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c99-to-c89.