[Webkit-unassigned] [Bug 224232] New: [GTK][WPE] Avif decoder build broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 6 05:11:47 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=224232

            Bug ID: 224232
           Summary: [GTK][WPE] Avif decoder build broken
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pnormand at igalia.com
                CC: bugs-noreply at webkitgtk.org, changseok at webkit.org

I´m about to deploy a SDK update shipping avif 0.9.0, the build fails but as this feature is currently disabled by default I think it´s fine ;)

../../Source/WebCore/platform/image-decoders/avif/AVIFImageReader.cpp:52:9: error: no matching function for call to 'avifDecoderParse'
    if (avifDecoderParse(m_avifDecoder.get(), &avifData) != AVIF_RESULT_OK
        ^~~~~~~~~~~~~~~~
/usr/include/avif/avif.h:752:21: note: candidate function not viable: requires single argument 'decoder', but 2 arguments were provided
         avifResult avifDecoderParse(avifDecoder * decoder);
                    ^
../../Source/WebCore/platform/image-decoders/avif/AVIFImageReader.cpp:75:13: error: no matching function for call to 'avifDecoderParse'
        if (avifDecoderParse(m_avifDecoder.get(), &avifData) != AVIF_RESULT_OK) {
            ^~~~~~~~~~~~~~~~
/usr/include/avif/avif.h:752:21: note: candidate function not viable: requires single argument 'decoder', but 2 arguments were provided
         avifResult avifDecoderParse(avifDecoder * decoder);
                    ^
../../Source/WebCore/platform/image-decoders/avif/AVIFImageReader.cpp:125:26: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
    for (size_t i = 0; i < m_avifDecoder->imageCount; ++i) {
                       ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210406/c27ce2f0/attachment-0001.htm>


More information about the webkit-unassigned mailing list