Changeset 209916 in webkit


Ignore:
Timestamp:
Dec 16, 2016 3:50:19 AM (7 years ago)
Author:
eocanha@igalia.com
Message:

[GStreamer][MSE] Fix build warning in MediaPlayerPrivateGStreamer.cpp using gcc 6.2
https://bugs.webkit.org/show_bug.cgi?id=165900

Reviewed by Žan Doberšek.

  • platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp:

(WebCore::MediaPlayerPrivateGStreamerMSE::supportsCodecs):
Move the variable asignation out of the if condition.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r209915 r209916  
     12016-12-16  Enrique Ocaña González  <eocanha@igalia.com>
     2
     3        [GStreamer][MSE] Fix build warning in MediaPlayerPrivateGStreamer.cpp using gcc 6.2
     4        https://bugs.webkit.org/show_bug.cgi?id=165900
     5
     6        Reviewed by Žan Doberšek.
     7
     8        * platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp:
     9        (WebCore::MediaPlayerPrivateGStreamerMSE::supportsCodecs):
     10        Move the variable asignation out of the if condition.
     11
    1122016-12-16  Romain Bellessort  <romain.bellessort@crf.canon.fr>
    213
  • trunk/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp

    r209797 r209916  
    767767        const char* codecData = codec.utf8().data();
    768768        for (const auto& pattern : supportedCodecs) {
    769             if (isCodecSupported = !fnmatch(pattern, codecData, 0))
     769            isCodecSupported = !fnmatch(pattern, codecData, 0);
     770            if (isCodecSupported)
    770771                break;
    771772        }
Note: See TracChangeset for help on using the changeset viewer.