diff mjpeg.c @ 949:693a0797398f libavcodec

warnings patch by (bubu <bubu at bubu dot net>)
author michaelni
date Wed, 01 Jan 2003 15:10:45 +0000
parents c9bbd35064b6
children 1f9afd8b9131
line wrap: on
line diff
--- a/mjpeg.c	Wed Jan 01 14:36:20 2003 +0000
+++ b/mjpeg.c	Wed Jan 01 15:10:45 2003 +0000
@@ -1182,8 +1182,9 @@
 	    get_bits(&s->gb, 8), get_bits(&s->gb, 8));
 	if (get_bits(&s->gb, 8) == 0)
 	{
-	    int x_density = get_bits(&s->gb, 16);
-	    int y_density = get_bits(&s->gb, 16);
+	    int x_density, y_density; 
+	    x_density = get_bits(&s->gb, 16);
+	    y_density = get_bits(&s->gb, 16);
 
 	    dprintf("x/y density: %d (%f), %d (%f)\n", x_density,
 		(float)x_density, y_density, (float)y_density);