diff options
Diffstat (limited to 'src/libw32dll/qt_decoder.c')
-rw-r--r-- | src/libw32dll/qt_decoder.c | 12 |
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"); |