summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2007-10-29 21:59:49 +0000
committerChristophe Fergeau <teuf@gnome.org>2007-10-29 21:59:49 +0000
commit8fb08112d6912a391c0519ca652223125773ad58 (patch)
treea23dc20472e23af7f7c479d6a82f2a5ed299f072
parent60a9f4bad17d86056f7282c633a1e6efa52fe7f1 (diff)
downloadlibgpod-8fb08112d6912a391c0519ca652223125773ad58.tar.gz
libgpod-8fb08112d6912a391c0519ca652223125773ad58.tar.xz
libgpod-8fb08112d6912a391c0519ca652223125773ad58.zip
* src/itdb_artwork.c:
* src/ithumb-writer.c: replace // comments with /* */ pairs, fixes compilation on my machine git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1747 f01d2545-417e-4e96-918e-98f8d0dbbcb6
-rw-r--r--ChangeLog6
-rw-r--r--src/itdb_artwork.c4
-rw-r--r--src/ithumb-writer.c2
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e112e2..af4e25d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2007-10-29 Christophe Fergeau <teuf@gnome.org>
+ * src/itdb_artwork.c:
+ * src/ithumb-writer.c: replace // comments with /* */ pairs, fixes
+ compilation on my machine
+
+2007-10-29 Christophe Fergeau <teuf@gnome.org>
+
Patch from Filippo Giunchedi <filippo@esaurito.net>
* src/itdb_artwork.c: add I420 unpacker
diff --git a/src/itdb_artwork.c b/src/itdb_artwork.c
index c3ec898..69dc38c 100644
--- a/src/itdb_artwork.c
+++ b/src/itdb_artwork.c
@@ -665,7 +665,7 @@ static gint limit8bit (float x)
return x;
}
-// swapping U and V planes this unpacks YV12
+/* swapping U and V planes this unpacks YV12 */
static guchar *
unpack_I420 (guchar *yuvdata, gint bytes_len, guint byte_order,
gint width, gint height)
@@ -685,7 +685,7 @@ unpack_I420 (guchar *yuvdata, gint bytes_len, guint byte_order,
rgbdata = g_malloc(imgsize);
- // FIXME could be faster
+ /* FIXME could be faster */
while(h < yuvdim){
y = yuvdata[h];
diff --git a/src/ithumb-writer.c b/src/ithumb-writer.c
index 5763634..24f1566 100644
--- a/src/ithumb-writer.c
+++ b/src/ithumb-writer.c
@@ -302,7 +302,7 @@ pack_I420 (GdkPixbuf *orig_pixbuf, const Itdb_ArtworkFormat *img_info,
gint horizontal_padding, gint vertical_padding,
guint32 *thumb_size)
{
- // FIXME do something
+ /* FIXME do something */
g_return_val_if_fail (img_info, NULL);
return NULL;
}