[xiph-commits] r3721 - liboggz/trunk/src/tools

conrad at svn.annodex.net conrad at svn.annodex.net
Wed Sep 17 00:22:55 PDT 2008


Author: conrad
Date: 2008-09-17 00:22:54 -0700 (Wed, 17 Sep 2008)
New Revision: 3721

Modified:
   liboggz/trunk/src/tools/oggz_tools.c
Log:
Apply patch by j^, Closes ticket:406
"oggzinfo Video-Height is wrong"
oggzinfo displays the wrong Video-Height, it should output only the display size not
the size of the encoded picture


Modified: liboggz/trunk/src/tools/oggz_tools.c
===================================================================
--- liboggz/trunk/src/tools/oggz_tools.c	2008-09-16 09:53:52 UTC (rev 3720)
+++ liboggz/trunk/src/tools/oggz_tools.c	2008-09-17 07:22:54 UTC (rev 3721)
@@ -135,8 +135,8 @@
 
   buf = malloc (80);
 
-  width = INT16_BE_AT(&data[10]) << 4;
-  height = INT16_BE_AT(&data[12]) << 4;
+  width = INT16_BE_AT(&data[15]);
+  height = INT16_BE_AT(&data[18]);
 
   snprintf (buf, 80,
 	    "\tVideo-Framerate: %.3f fps\n"



More information about the commits mailing list