mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
deinterlace, matroska: fix two variable-may-be-used-uninitialized compiler warnings
We use -DG_DISABLE_ASSERT for the pre-releases, which makes these warnings pop up in cases that were previously covered by g_assert_not_reached() and the like: tvtime/greedyh.c:801:14: warning: 'scanline' may be used uninitialized in this function matroska-mux.c:501:19: warning: 'context' may be used uninitialized in this function
This commit is contained in:
parent
a068133ee7
commit
c2bc6327cd
2 changed files with 2 additions and 2 deletions
|
@ -749,7 +749,7 @@ deinterlace_frame_di_greedyh_packed (GstDeinterlaceMethod * method,
|
|||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
// copy first even line no matter what, and the first odd line if we're
|
||||
|
|
|
@ -494,7 +494,7 @@ gst_matroska_pad_reset (GstMatroskaPad * collect_pad, gboolean full)
|
|||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
context->type = type;
|
||||
|
|
Loading…
Reference in a new issue