mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
[MOVED FROM BAD 103/134] vp8enc: Fix 'argument to 'sizeof' in 'memset' call is the same expression as the destination' compiler warning
This commit is contained in:
parent
0eeb65f989
commit
3cfb400de1
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ gst_vp8_enc_set_format (GstBaseVideoEncoder * base_video_encoder,
|
||||||
|
|
||||||
/* prepare cached image buffer setup */
|
/* prepare cached image buffer setup */
|
||||||
image = &encoder->image;
|
image = &encoder->image;
|
||||||
memset (image, 0, sizeof (image));
|
memset (image, 0, sizeof (*image));
|
||||||
|
|
||||||
image->fmt = VPX_IMG_FMT_I420;
|
image->fmt = VPX_IMG_FMT_I420;
|
||||||
image->bps = 12;
|
image->bps = 12;
|
||||||
|
|
Loading…
Reference in a new issue