diff --git a/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.cpp b/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.cpp index d20cd07829..609b8c20e7 100644 --- a/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.cpp +++ b/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.cpp @@ -83,10 +83,10 @@ mp3Decoder::~mp3Decoder() void -mp3Decoder::GetCodecInfo(media_codec_info &info) +mp3Decoder::GetCodecInfo(media_codec_info *info) { - strcpy(info.short_name, "mp3"); - strcpy(info.pretty_name, "MPEG 1/2/2.5 audio layer 1/2/3 decoder, based on mpeg123 mpglib"); + strcpy(info->short_name, "mp3"); + strcpy(info->pretty_name, "MPEG audio decoder (mpeg123 mpglib)"); // ToDo: could alter the above string depending on the real format } diff --git a/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.h b/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.h index c4aceeaad1..da29ae17af 100644 --- a/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.h +++ b/src/add-ons/media/plugins/mp3_decoder/mp3DecoderPlugin.h @@ -8,7 +8,7 @@ public: mp3Decoder(); ~mp3Decoder(); - void GetCodecInfo(media_codec_info &codecInfo); + void GetCodecInfo(media_codec_info *codecInfo); status_t Setup(media_format *ioEncodedFormat, const void *infoBuffer, int32 infoSize); diff --git a/src/add-ons/media/plugins/musepack/MusePackDecoder.cpp b/src/add-ons/media/plugins/musepack/MusePackDecoder.cpp index 80a47c72a8..886a730061 100644 --- a/src/add-ons/media/plugins/musepack/MusePackDecoder.cpp +++ b/src/add-ons/media/plugins/musepack/MusePackDecoder.cpp @@ -22,10 +22,10 @@ MusePackDecoder::~MusePackDecoder() void -MusePackDecoder::GetCodecInfo(media_codec_info &info) +MusePackDecoder::GetCodecInfo(media_codec_info *info) { - strcpy(info.short_name, "musepack"); - strcpy(info.pretty_name, "MusePack audio codec based on mpcdec by Andree Buschmann"); + strcpy(info->short_name, "musepack"); + strcpy(info->pretty_name, "MusePack audio codec based on mpcdec by Andree Buschmann"); } diff --git a/src/add-ons/media/plugins/musepack/MusePackDecoder.h b/src/add-ons/media/plugins/musepack/MusePackDecoder.h index ab8b993aaa..b6a5cbd337 100644 --- a/src/add-ons/media/plugins/musepack/MusePackDecoder.h +++ b/src/add-ons/media/plugins/musepack/MusePackDecoder.h @@ -17,7 +17,7 @@ class MusePackDecoder : public Decoder { MusePackDecoder(); ~MusePackDecoder(); - void GetCodecInfo(media_codec_info &info); + void GetCodecInfo(media_codec_info *info); status_t Setup(media_format *ioEncodedFormat, const void *infoBuffer, int32 infoSize); diff --git a/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.cpp b/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.cpp index c841f7748e..f3c7730608 100644 --- a/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.cpp +++ b/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.cpp @@ -22,14 +22,14 @@ AudioBufferSize(int32 channel_count, uint32 sample_format, float frame_rate, big void -RawDecoder::GetCodecInfo(media_codec_info &info) +RawDecoder::GetCodecInfo(media_codec_info *info) { - strcpy(info.short_name, "raw"); + strcpy(info->short_name, "raw"); if (fInputFormat.IsAudio()) - strcpy(info.pretty_name, "Raw audio decoder"); + strcpy(info->pretty_name, "Raw audio decoder"); else - strcpy(info.pretty_name, "Raw video decoder"); + strcpy(info->pretty_name, "Raw video decoder"); } diff --git a/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.h b/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.h index e2d4b7f8dc..cc662c8342 100644 --- a/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.h +++ b/src/add-ons/media/plugins/raw_decoder/RawDecoderPlugin.h @@ -3,7 +3,7 @@ class RawDecoder : public Decoder { public: - void GetCodecInfo(media_codec_info &info); + void GetCodecInfo(media_codec_info *info); status_t Setup(media_format *ioEncodedFormat, const void *infoBuffer, int32 infoSize); diff --git a/src/add-ons/media/plugins/speex/speexCodecPlugin.cpp b/src/add-ons/media/plugins/speex/speexCodecPlugin.cpp index fdc91a2ade..ba25cde51f 100644 --- a/src/add-ons/media/plugins/speex/speexCodecPlugin.cpp +++ b/src/add-ons/media/plugins/speex/speexCodecPlugin.cpp @@ -68,10 +68,10 @@ SpeexDecoder::~SpeexDecoder() void -SpeexDecoder::GetCodecInfo(media_codec_info &info) +SpeexDecoder::GetCodecInfo(media_codec_info *info) { - strncpy(info.short_name, "speex-libspeex", sizeof(info.short_name)); - strncpy(info.pretty_name, "speex decoder [libspeex], by Andrew Bachmann", sizeof(info.pretty_name)); + strncpy(info->short_name, "speex-libspeex", sizeof(info->short_name)); + strncpy(info->pretty_name, "speex decoder [libspeex], by Andrew Bachmann", sizeof(info->pretty_name)); } diff --git a/src/add-ons/media/plugins/speex/speexCodecPlugin.h b/src/add-ons/media/plugins/speex/speexCodecPlugin.h index 81883cd087..cedb8286a1 100644 --- a/src/add-ons/media/plugins/speex/speexCodecPlugin.h +++ b/src/add-ons/media/plugins/speex/speexCodecPlugin.h @@ -10,7 +10,7 @@ public: SpeexDecoder(); ~SpeexDecoder(); - void GetCodecInfo(media_codec_info &info); + void GetCodecInfo(media_codec_info *info); status_t Setup(media_format *inputFormat, const void *infoBuffer, int32 infoSize);