driver/audiodec/ffmpegdec.cpp: comment selecting input format from file type,

let ffmpeg to find input format


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2ebdf6dfbb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-12-15 (Sun, 15 Dec 2013)



------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-12-15 14:39:51 +04:00
parent 6aa17d2ae9
commit 3d22253951

View File

@@ -149,6 +149,7 @@ bool CFfmpegDec::Init(void *_in, const CFile::FileType ft)
AVInputFormat *input_format = NULL;
#if 0
switch (ft) {
case CFile::FILE_OGG:
input_format = av_find_input_format("ogg");
@@ -168,6 +169,7 @@ bool CFfmpegDec::Init(void *_in, const CFile::FileType ft)
default:
break;
}
#endif
int r = avformat_open_input(&avc, "", input_format, NULL);
if (r) {