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

let ffmpeg to find input format
This commit is contained in:
[CST] Focus
2013-12-15 14:39:51 +04:00
parent 0cb07d75d9
commit 2ebdf6dfbb

View File

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