mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
video: fix assertion comparison mishap
This commit is contained in:
parent
278b0f093b
commit
d455b29db4
1 changed files with 1 additions and 1 deletions
|
@ -1158,7 +1158,7 @@ gst_video_frame_copy_plane (GstVideoFrame * dest, const GstVideoFrame * src,
|
|||
g_return_val_if_fail (dinfo->finfo->format == sinfo->finfo->format, FALSE);
|
||||
g_return_val_if_fail (dinfo->width == sinfo->width
|
||||
&& dinfo->height == sinfo->height, FALSE);
|
||||
g_return_val_if_fail (dinfo->finfo->n_planes < plane, FALSE);
|
||||
g_return_val_if_fail (dinfo->finfo->n_planes > plane, FALSE);
|
||||
|
||||
sp = src->data[plane];
|
||||
dp = dest->data[plane];
|
||||
|
|
Loading…
Reference in a new issue