summaryrefslogtreecommitdiff
path: root/mbone/vic/files/patch-ag
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-29 03:41:33 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-29 03:41:33 +0000
commit59e4b7969b5077ac3a8a9f8eed7dc8dbe52e127d (patch)
tree3c800c34ec624a89ef5d66304b64d747897866c1 /mbone/vic/files/patch-ag
parentAdd the elided text patch from the TkMan distribution. (diff)
Update to Tcl/Tk version 8.2 and get this to build with gcc 2.95.
Submitted by: Ade Lovett <ade@lovett.com>
Notes
Notes: svn path=/head/; revision=23483
Diffstat (limited to 'mbone/vic/files/patch-ag')
-rw-r--r--mbone/vic/files/patch-ag27
1 files changed, 18 insertions, 9 deletions
diff --git a/mbone/vic/files/patch-ag b/mbone/vic/files/patch-ag
index 17380d8c165e..c597e4f3e86b 100644
--- a/mbone/vic/files/patch-ag
+++ b/mbone/vic/files/patch-ag
@@ -85,13 +85,10 @@
int encode(const VideoFrame*, const u_int8_t *crvec);
int command(int argc, const char*const* argv);
void encode_blk(const short* blk, const char* lm);
-@@ -208,6 +209,16 @@
- for (int q = 0; q < 32; ++q) {
- llm_[q] = 0;
- clm_[q] = 0;
-+ }
-+}
-+
+@@ -211,6 +212,16 @@
+ }
+ }
+
+H261Encoder::~H261Encoder()
+{
+ for (int q = 0; q < 32; ++q) {
@@ -99,6 +96,18 @@
+ delete llm_[q];
+ if (clm_[q] != 0)
+ delete clm_[q];
- }
- }
++ }
++}
++
+ H261PixelEncoder::H261PixelEncoder() : H261Encoder(FT_YUV_CIF)
+ {
+ quant_required_ = 0;
+@@ -631,7 +642,7 @@
+ if (q < 8) {
+ register int cmin = 0, cmax = 0;
+ register short* bp = lblk;
+- register i, j;
++ register int i, j;
+ // Y U and V blocks
+ for (i = 6; --i >= 0; ) {