diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2005-07-06 15:04:42 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2005-07-06 15:04:42 +0000 |
commit | 2020526dd26217646588f0fb1cc12ff9f2400561 (patch) | |
tree | a4384732128f16cc7d914d374e20211f32c3cc61 /audio/vorbis-tools | |
parent | 7ea7c22500d2e1c94f27b75ffee00e80dfa7e838 (diff) | |
download | ports-2020526dd26217646588f0fb1cc12ff9f2400561.tar.gz ports-2020526dd26217646588f0fb1cc12ff9f2400561.zip |
Fix building with gcc 2.95.
Reported by: Randy Pratt <rpratt1950@earthlink.net>, kris (pointyhat)
Notes
Notes:
svn path=/head/; revision=138593
Diffstat (limited to 'audio/vorbis-tools')
-rw-r--r-- | audio/vorbis-tools/files/patch-oggenc_encode.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/vorbis-tools/files/patch-oggenc_encode.c b/audio/vorbis-tools/files/patch-oggenc_encode.c new file mode 100644 index 000000000000..f03cc5942a5a --- /dev/null +++ b/audio/vorbis-tools/files/patch-oggenc_encode.c @@ -0,0 +1,21 @@ + +$FreeBSD$ + +--- oggenc/encode.c.orig ++++ oggenc/encode.c +@@ -160,6 +160,7 @@ + /* do we have optional hard bitrate restrictions? */ + if(opt->max_bitrate > 0 || opt->min_bitrate > 0){ + struct ovectl_ratemanage2_arg ai; ++ long bitrate; + vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE2_GET, &ai); + + /* libvorbis 1.1 (and current svn) doesn't actually fill this in, +@@ -173,7 +174,6 @@ + Also, note that this won't work correctly unless you have a very + recent (2005/03/04 or later) version of libvorbis from svn). + */ +- long bitrate; + + { + vorbis_info vi2; |