Giter VIP home page Giter VIP logo

Comments (4)

lieff avatar lieff commented on August 15, 2024 1

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.

zachjacobs avatar zachjacobs commented on August 15, 2024

Any progress on resolving this issue? I'm having problems with this as well and would appreciate a response. Thanks!

from c99-to-c89.

yihhann avatar yihhann commented on August 15, 2024

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.

lieff avatar lieff commented on August 15, 2024

Glad to hear!

from c99-to-c89.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.