mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
v4l2videodec: silennce some maybe-uninitialized warnings
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
parent
7b526775b4
commit
d98c83b297
1 changed files with 1 additions and 1 deletions
|
@ -631,7 +631,7 @@ gst_v4l2_video_dec_finish (GstVideoDecoder * decoder)
|
|||
pending_frames = gst_video_decoder_get_frames (decoder);
|
||||
if (pending_frames) {
|
||||
int counter = 0;
|
||||
guint32 first, last;
|
||||
guint32 first = 0, last = 0;
|
||||
for (GList * g = pending_frames; g; g = g->next) {
|
||||
GstVideoCodecFrame *frame = g->data;
|
||||
g->data = NULL;
|
||||
|
|
Loading…
Reference in a new issue