rtpjpegdepay: fix logic error when checking if an EOI is present
authorTim-Philipp Müller <tim@centricular.com>
Thu, 23 Mar 2023 16:40:54 +0000 (16:40 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 25 Mar 2023 01:00:36 +0000 (01:00 +0000)
commit3c915cdca4b79bba1ad4905c5d72bd9c13018efa
treec707dbce1cb890d364a7352d8d4bce1adefddeb7
parentb023e0923edcac86dddb1a3f4199ad68c5531c33
rtpjpegdepay: fix logic error when checking if an EOI is present

We wouldn't add the missing EOI marker if the frame ended with
either 0xFF NN or 0xNN D9.

Fixes #2407

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4269>
subprojects/gst-plugins-good/gst/rtp/gstrtpjpegdepay.c