diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-18 13:13:41 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-18 13:13:41 +0000 |
commit | b2b796f466cbba3d5c588c99719bbb1d4df25f56 (patch) | |
tree | feb691144970370be3bc784a298efacabb560fe5 /libmpdemux/demux_ogg.c | |
parent | 2f140634550d0a68b762d9d0f50e715b4ac00d59 (diff) | |
download | mpv-b2b796f466cbba3d5c588c99719bbb1d4df25f56.tar.bz2 mpv-b2b796f466cbba3d5c588c99719bbb1d4df25f56.tar.xz |
Theora-CVS update patch by Martin Drab <drab@kepler.fjfi.cvut.cz>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10659 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_ogg.c')
-rw-r--r-- | libmpdemux/demux_ogg.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libmpdemux/demux_ogg.c b/libmpdemux/demux_ogg.c index a98a01baf0..902b2419a7 100644 --- a/libmpdemux/demux_ogg.c +++ b/libmpdemux/demux_ogg.c @@ -50,6 +50,7 @@ typedef struct ov_struct_st { #ifdef HAVE_OGGTHEORA typedef struct theora_struct_st { theora_state st; + theora_comment cc; theora_info inf; } theora_struct_t; #endif @@ -633,7 +634,12 @@ int demux_ogg_open(demuxer_t* demuxer) { } else if (pack.bytes >= 7 && !strncmp (&pack.packet[1], "theora", 6)) { int errorCode = 0; theora_info inf; - errorCode = theora_decode_header (&inf, &pack); + theora_comment cc; + + theora_info_init (&inf); + theora_comment_init (&cc); + + errorCode = theora_decode_header (&inf, &cc, &pack); if (errorCode) mp_msg(MSGT_DEMUX,MSGL_ERR,"Theora header parsing failed: %i \n", errorCode); |