diff options
author | rhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9> | 2009-10-10 18:40:30 +0000 |
---|---|---|
committer | rhatto <rhatto@18ef50b8-d735-4ccd-97c1-689132df3dd9> | 2009-10-10 18:40:30 +0000 |
commit | 011ba9984143396781f939a02f01a8b23d4b8742 (patch) | |
tree | e03cb4a91693ce5742946f1f7e34f0defdfa4ca2 /patches/libtheora/libtheora-1.0alpha7-x86_64.diff | |
parent | b7bf359d443775d139ac6a4aa1dfe759e6ad3f0c (diff) | |
download | mkbuilds-011ba9984143396781f939a02f01a8b23d4b8742.tar.gz mkbuilds-011ba9984143396781f939a02f01a8b23d4b8742.tar.bz2 |
libtheora: adding libtheora
git-svn-id: svn+slack://slack.fluxo.info/var/svn/mkbuilds@531 18ef50b8-d735-4ccd-97c1-689132df3dd9
Diffstat (limited to 'patches/libtheora/libtheora-1.0alpha7-x86_64.diff')
-rw-r--r-- | patches/libtheora/libtheora-1.0alpha7-x86_64.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/libtheora/libtheora-1.0alpha7-x86_64.diff b/patches/libtheora/libtheora-1.0alpha7-x86_64.diff new file mode 100644 index 0000000..ca89c07 --- /dev/null +++ b/patches/libtheora/libtheora-1.0alpha7-x86_64.diff @@ -0,0 +1,21 @@ +--- libtheora-0.0.0.alpha7/lib/toplevel.c 2006-06-13 00:57:36.000000000 +0200 ++++ libtheora-pdw/lib/toplevel.c 2006-08-19 16:55:30.000000000 +0200 +@@ -172,7 +172,7 @@ + + static int _theora_unpack_comment(theora_comment *tc, oggpack_buffer *opb){ + int i; +- long len; ++ long len,tmp; + + _tp_readlsbint(opb,&len); + if(len<0)return(OC_BADHEADER); +@@ -180,7 +180,8 @@ + _tp_readbuffer(opb,tc->vendor, len); + tc->vendor[len]='\0'; + +- _tp_readlsbint(opb,(long *) &tc->comments); ++ _tp_readlsbint(opb,&tmp); ++ tc->comments=tmp; + if(tc->comments<0)goto parse_err; + tc->user_comments=_ogg_calloc(tc->comments,sizeof(*tc->user_comments)); + tc->comment_lengths=_ogg_calloc(tc->comments,sizeof(*tc->comment_lengths)); |