mfc: fix left crop change test
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 9 Apr 2014 10:04:32 +0000 (11:04 +0100)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Wed, 9 Apr 2014 10:04:32 +0000 (11:04 +0100)
It was testing a noop

Coverity 1139643

sys/mfc/gstmfcdec.c

index d5272cf..64e281b 100644 (file)
@@ -784,7 +784,7 @@ gst_mfc_dec_dequeue_output (GstMFCDec * self)
     if (!state || self->width != width || self->height != height ||
         self->src_stride[0] != src_ystride
         || self->src_stride[1] != src_uvstride
-        || self->crop_left != self->crop_left || self->crop_top != crop_top
+        || self->crop_left != crop_left || self->crop_top != crop_top
         || self->crop_width != crop_width || self->crop_height != crop_height) {
       self->width = width;
       self->height = height;