mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
driver/audiodec/ffmpegdec.cpp: comment selecting input format from file type,
let ffmpeg to find input format
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user