driver/audiodec/ffmpegdec: minor cleanup

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7bcd72afe3
Author: martii <m4rtii@gmx.de>
Date: 2013-10-17 (Thu, 17 Oct 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-10-17 20:30:30 +02:00
committed by [CST] Focus
parent 992df5f59c
commit 68f05c8d01

View File

@@ -38,7 +38,6 @@ extern "C" {
#include <libavutil/opt.h>
#include <libavutil/samplefmt.h>
#include <libswresample/swresample.h>
#include <ao/ao.h>
}
#include <driver/netfile.h>
@@ -317,7 +316,7 @@ bool CFfmpegDec::SetMetaData(FILE * /* _in */, CAudioMetaData* m)
m->samplerate = mSampleRate;
std::stringstream ss;
if (codec)
ss << std::string(codec->long_name) + " / " << mChannels << " channel(s)";
ss << std::string(codec->long_name) + " / " << mChannels << " channel" << ( mChannels > 1 ? "s" : "");
m->type_info = ss.str();
m->changed=true;
if (needsInit)