SOURCES: avifile-fix-no-bits_per_sample.patch (NEW) - new
blekot
blekot at pld-linux.org
Sun Oct 5 00:41:55 CEST 2008
Author: blekot Date: Sat Oct 4 22:41:55 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- new
---- Files affected:
SOURCES:
avifile-fix-no-bits_per_sample.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/avifile-fix-no-bits_per_sample.patch
diff -u /dev/null SOURCES/avifile-fix-no-bits_per_sample.patch:1.1
--- /dev/null Sun Oct 5 00:41:56 2008
+++ SOURCES/avifile-fix-no-bits_per_sample.patch Sun Oct 5 00:41:50 2008
@@ -0,0 +1,20 @@
+--- avifile-0.7-0.7.45/lib/aviread/FFReadStream.cpp.old 2008-10-05 00:33:50.000000000 +0200
++++ avifile-0.7-0.7.45/lib/aviread/FFReadStream.cpp 2008-10-05 00:34:17.000000000 +0200
+@@ -215,7 +215,7 @@
+ wf->nSamplesPerSec = avs->codec->sample_rate;
+ wf->nAvgBytesPerSec = avs->codec->bit_rate / 8;
+ wf->nBlockAlign = avs->codec->block_align;
+- wf->wBitsPerSample = avs->codec->bits_per_sample;
++ wf->wBitsPerSample = avs->codec->bits_per_coded_sample;
+ if (lSize >= (sizeof(WAVEFORMATEX) + avs->codec->extradata_size)
+ && avs->codec->extradata)
+ {
+@@ -239,7 +239,7 @@
+ bh->biHeight = avs->codec->height;
+ bh->biPlanes = 1;
+ bh->biCompression = avs->codec->codec_tag;
+- bh->biBitCount = avs->codec->bits_per_sample;
++ bh->biBitCount = avs->codec->bits_per_coded_sample;
+ // hack which might be eventually usefull
+ memcpy(&bh->biXPelsPerMeter, &m_pHandler->m_pContext, sizeof(void*));
+ if (bh->biCompression == 0)
================================================================
More information about the pld-cvs-commit
mailing list