mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
driver/audiodec/ffmpegdec.cpp: comment selecting input format from file type,
let ffmpeg to find input format
Origin commit data
------------------
Commit: 2ebdf6dfbb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-12-15 (Sun, 15 Dec 2013)
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user