codecparsers: remove ignored increment of return

'return val++;' returns the value before it is incremented because the post
increment happens after the statement. Removing the unused increment.

https://bugzilla.gnome.org/show_bug.cgi?id=739345
This commit is contained in:
Luis de Bethencourt 2014-10-29 10:37:38 +00:00
parent a9d13db8c6
commit 916b954315

View file

@ -347,7 +347,7 @@ compute_resync_marker_size (const GstMpeg4VideoObjectPlane * vop,
}
}
return off++; /* Take the following 1 into account */
return off;
}
/**