summaryrefslogtreecommitdiff
path: root/src/libw32dll
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2002-12-21 03:03:15 +0000
committerMike Melanson <mike@multimedia.cx>2002-12-21 03:03:15 +0000
commit9e04d12e20a84b43ea365bdd570dbec2b694540b (patch)
treee483f65631d3e4faf3970ee8cf0429f6a8d25b5f /src/libw32dll
parent53d9e4ecde7f52d84b7349aff9c28cec481f4954 (diff)
downloadxine-lib-9e04d12e20a84b43ea365bdd570dbec2b694540b.tar.gz
xine-lib-9e04d12e20a84b43ea365bdd570dbec2b694540b.tar.bz2
...my beautiful, beautiful special information buffer facility...okay
it's just a hack. Oh well, set it straight CVS patchset: 3600 CVS date: 2002/12/21 03:03:15
Diffstat (limited to 'src/libw32dll')
-rw-r--r--src/libw32dll/qt_decoder.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libw32dll/qt_decoder.c b/src/libw32dll/qt_decoder.c
index aefed740f..a3df42950 100644
--- a/src/libw32dll/qt_decoder.c
+++ b/src/libw32dll/qt_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: qt_decoder.c,v 1.1 2002/12/18 04:00:49 guenter Exp $
+ * $Id: qt_decoder.c,v 1.2 2002/12/21 03:03:16 tmmm Exp $
*
* quicktime video/audio decoder plugin, using win32 dlls
* most of this code comes directly from MPlayer
@@ -325,7 +325,7 @@ static void qta_init_driver (qta_decoder_t *this, buf_element_t *buf) {
printf ("qt_audio: output format:\n");
qta_hexdump (&this->OutputFormatInfo, sizeof (SoundComponentData));
printf ("qt_audio: stsd atom: \n");
- qta_hexdump (buf->content, buf->size);
+ qta_hexdump ((unsigned char *)buf->decoder_info[3], buf->decoder_info[2]);
#endif
error = this->SoundConverterOpen (&this->InputFormatInfo,
@@ -450,7 +450,7 @@ static void qta_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
printf ("qt_audio: special buffer\n");
#endif
- if (buf->decoder_info[0] == BUF_SPECIAL_STSD_ATOM) {
+ if (buf->decoder_info[1] == BUF_SPECIAL_STSD_ATOM) {
#ifdef LOG
printf ("qt_audio: got stsd atom -> init codec\n");
@@ -865,9 +865,9 @@ static void qtv_init_driver (qtv_decoder_t *this, buf_element_t *buf) {
printf ("qt_video: image size %d x %d\n",
this->bih.biWidth, this->bih.biHeight);
- printf ("qt_video: stsd (%d bytes):\n", buf->size) ;
+ printf ("qt_video: stsd (%d bytes):\n", buf->decoder_info[2]) ;
- qtv_hexdump (buf->content, buf->size);
+ qtv_hexdump ((unsigned char *)buf->decoder_info[3], buf->decoder_info[2]);
#endif
{
@@ -989,7 +989,7 @@ static void qtv_decode_data (video_decoder_t *this_gen, buf_element_t *buf) {
printf ("qt_video: special buffer\n");
#endif
- if (buf->decoder_info[0] == BUF_SPECIAL_STSD_ATOM) {
+ if (buf->decoder_info[1] == BUF_SPECIAL_STSD_ATOM) {
#ifdef LOG
printf ("qt_video: got stsd atom -> init codec\n");