jpeg2000parse: fix typo in sampling check

Fixing small typo that changes the value of the return.
This commit is contained in:
Luis de Bethencourt 2016-06-28 11:08:22 +01:00 committed by Luis
parent dbda62f429
commit 276dd2750f

View file

@ -78,7 +78,7 @@ gst_jpeg2000_sampling_is_rgb (GstJPEG2000Sampling sampling)
gboolean
gst_jpeg2000_sampling_is_yuv (GstJPEG2000Sampling sampling)
{
return sampling = GST_JPEG2000_SAMPLING_YBRA4444_EXT ||
return sampling == GST_JPEG2000_SAMPLING_YBRA4444_EXT ||
sampling == GST_JPEG2000_SAMPLING_YBR444 ||
sampling == GST_JPEG2000_SAMPLING_YBR422 ||
sampling == GST_JPEG2000_SAMPLING_YBR420