nvcodec: fix compiler warning in certain setups
authorTim-Philipp Müller <tim@centricular.com>
Sun, 3 May 2020 09:59:45 +0000 (09:59 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 3 May 2020 10:08:29 +0000 (11:08 +0100)
commit9539eecf209652111552bbbf944ddbdb0943db90
tree735beb5c216eb9a3a1317adf933b8b4776e8378b
parentb68e47968b581accea9deebd15a2160300452fff
nvcodec: fix compiler warning in certain setups

Fixes gstnvh264dec.c:648:12: warning: unused variable ‘ret’
compiler warning on raspbian where HAVE_NVCODEC_GST_GL is
not defined.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1239>
sys/nvcodec/gstnvh264dec.c