projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtpjpegdepay: fix logic error when checking if an EOI is present
[platform/upstream/gstreamer.git]
/
subprojects
/
gst-plugins-good
/
gst
/
rtp
/
gstrtpjpegdepay.c
diff --git
a/subprojects/gst-plugins-good/gst/rtp/gstrtpjpegdepay.c
b/subprojects/gst-plugins-good/gst/rtp/gstrtpjpegdepay.c
index
02209d5
..
b85b7fb
100644
(file)
--- a/
subprojects/gst-plugins-good/gst/rtp/gstrtpjpegdepay.c
+++ b/
subprojects/gst-plugins-good/gst/rtp/gstrtpjpegdepay.c
@@
-705,7
+705,7
@@
gst_rtp_jpeg_depay_process (GstRTPBaseDepayload * depayload, GstRTPBuffer * rtp)
* marker */
gst_adapter_copy (rtpjpegdepay->adapter, end, avail - 2, 2);
- if (
end[0] != 0xff && end[1] != 0x
d9) {
+ if (
GST_READ_UINT16_BE (end) != 0xff
d9) {
GST_DEBUG_OBJECT (rtpjpegdepay, "no EOI marker, adding one");
/* no EOI marker, add one */