mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
driver/audiodec/ffmpegdec: minor cleanup
Origin commit data
------------------
Commit: 7bcd72afe3
Author: martii <m4rtii@gmx.de>
Date: 2013-10-17 (Thu, 17 Oct 2013)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user