totem r5585 - in trunk: . src/backend
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: totem r5585 - in trunk: . src/backend
- Date: Wed, 20 Aug 2008 14:09:15 +0000 (UTC)
Author: hadess
Date: Wed Aug 20 14:09:15 2008
New Revision: 5585
URL: http://svn.gnome.org/viewvc/totem?rev=5585&view=rev
Log:
2008-08-20 Bastien Nocera <hadess hadess net>
* src/backend/bacon-video-widget-gst-0.10.c
(bacon_video_widget_get_best_image): Yay for GCC warnings,
fix possible crash when no cover images are found in the
stream, and GCC doesn't initialise cover_value to NULL for us
(Closes: #548628)
Modified:
trunk/ChangeLog
trunk/src/backend/bacon-video-widget-gst-0.10.c
Modified: trunk/src/backend/bacon-video-widget-gst-0.10.c
==============================================================================
--- trunk/src/backend/bacon-video-widget-gst-0.10.c (original)
+++ trunk/src/backend/bacon-video-widget-gst-0.10.c Wed Aug 20 14:09:15 2008
@@ -4589,7 +4589,7 @@
static const GValue *
bacon_video_widget_get_best_image (BaconVideoWidget *bvw)
{
- const GValue *cover_value;
+ const GValue *cover_value = NULL;
guint i;
for (i = 0; ; i++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]