gstreamer/gst-libs/gst
Tobias Mueller 190c7f1928 GstVideoScaler: Initialised scaling functions to get rid of compiler messages
E.g.

video-scaler.c: In function 'gst_video_scaler_horizontal':
video-scaler.c:1332:3: error: 'func' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   func (scale, src, dest, dest_offset, width, n_elems);
   ^

video-scaler.c: In function 'gst_video_scaler_vertical':
video-scaler.c:1373:3: error: 'func' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   func (scale, src_lines, dest, dest_offset, width, n_elems);
   ^

GCC's analyses seem to be correct, for the simple fact that if you pass
get_functions a known format, but no hscale or vscale, it'll return
True without having done anything.
Some callers check for the scale values to be not NULL, but then
hscale->resampler.max_taps could return 0.
A different approach to the one presented in this patch is to check
for those max_taps, too, before calling get_functions.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=752051
2015-07-07 13:06:34 +02:00
..
allocators docs: add fdmemory to docs 2015-05-18 20:56:28 +02:00
app gi: Use INTROSPECTION_INIT for --add-init-section 2015-06-16 18:04:57 -04:00
audio {audio,video}info: Add GST_TYPE_{AUDIO,VIDEO}_INFO macros 2015-07-06 12:53:15 +03:00
fft gi: Skip fft constructor for now 2015-06-16 14:36:44 -04:00
pbutils discoverer: Fix a wrong naming in the documentation 2015-06-17 10:16:47 +02:00
riff gi: Use INTROSPECTION_INIT for --add-init-section 2015-06-16 18:04:57 -04:00
rtp rtcpbuffer: Fix validation of packets with padding 2015-07-06 12:06:47 +03:00
rtsp rtspconnection: Only drop everything after the ; of a session header in requests 2015-06-22 19:51:32 +02:00
sdp sdp: prevent the sdp message parser from reading past the end of the buffer 2015-05-29 15:05:31 +02:00
tag gi: Use INTROSPECTION_INIT for --add-init-section 2015-06-16 18:04:57 -04:00
video GstVideoScaler: Initialised scaling functions to get rid of compiler messages 2015-07-07 13:06:34 +02:00
gettext.h
glib-compat-private.h
gst-i18n-app.h
gst-i18n-plugin.h
Makefile.am