mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
516db3f1d0
GCC 10 was complaining like following. It really is complaining about default cases returning with potentially unitialized *desval, but those cases in the switch should never be hit. ``` ../subprojects/gst-plugins-good/gst/auparse/gstauparse.c: In function 'gst_au_parse_chain': ../subprojects/gst-plugins-good/gst/auparse/gstauparse.c:481:37: error: 'timestamp' may be used uninitialized in this function [-Werror=maybe-uninitialized] 481 | GST_BUFFER_TIMESTAMP (outbuf) = timestamp; ../subprojects/gst-plugins-good/gst/auparse/gstauparse.c:482:36: error: 'duration' may be used uninitialized in this function [-Werror=maybe-uninitialized] 482 | GST_BUFFER_DURATION (outbuf) = duration; ../subprojects/gst-plugins-good/gst/auparse/gstauparse.c:480:34: error: 'offset' may be used uninitialized in this function [-Werror=maybe-uninitialized] 480 | GST_BUFFER_OFFSET (outbuf) = offset; cc1: all warnings being treated as errors ``` Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/671> |
||
---|---|---|
.. | ||
gstauparse.c | ||
gstauparse.h | ||
meson.build |