va: decoder: initialize rt_formas to zero

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1483>
This commit is contained in:
Víctor Manuel Jáquez Leal 2020-07-27 11:14:49 +02:00 committed by GStreamer Merge Bot
parent 9b72b04dad
commit 39e55129d5

View file

@ -165,7 +165,7 @@ gst_va_decoder_init (GstVaDecoder * self)
self->profile = VAProfileNone;
self->config = VA_INVALID_ID;
self->context = VA_INVALID_ID;
self->rt_format = VA_RT_FORMAT_YUV420;
self->rt_format = 0;
self->coded_width = 0;
self->coded_height = 0;
}