[xiph-cvs] cvs commit: theora/examples player_example.c

Ralph Giles giles at xiph.org
Sun May 11 17:22:59 PDT 2003



giles       03/05/11 20:22:59

  Modified:    examples player_example.c
  Log:
  Initialize the example player's theora_comment structure before passing
  it to decode_comment(). Not necessary, but looks cleaner.

Revision  Changes    Path
1.12      +2 -1      theora/examples/player_example.c

Index: player_example.c
===================================================================
RCS file: /usr/local/cvsroot/theora/examples/player_example.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- player_example.c	12 May 2003 00:20:05 -0000	1.11
+++ player_example.c	12 May 2003 00:22:59 -0000	1.12
@@ -12,7 +12,7 @@
 
   function: example SDL player application; plays Ogg Theora files (with
             optional Vorbis audio second stream)
-  last mod: $Id: player_example.c,v 1.11 2003/05/12 00:20:05 giles Exp $
+  last mod: $Id: player_example.c,v 1.12 2003/05/12 00:22:59 giles Exp $
 
  ********************************************************************/
 
@@ -395,6 +395,7 @@
   /* init supporting Vorbis structures needed in header parsing */
   vorbis_info_init(&vi);
   vorbis_comment_init(&vc);
+  theora_comment_init(&tc);
 
   /* Ogg file on stdin; parse the headers */
   /* Only interested in Vorbis/Theora streams */

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list