From 3d22253951df3f46b677fddf276f43b9a1970817 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Sun, 15 Dec 2013 14:39:51 +0400 Subject: [PATCH] driver/audiodec/ffmpegdec.cpp: comment selecting input format from file type, let ffmpeg to find input format Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/2ebdf6dfbb5e720b831252ba25951b02fe90d03b Author: [CST] Focus Date: 2013-12-15 (Sun, 15 Dec 2013) ------------------ This commit was generated by Migit --- src/driver/audiodec/ffmpegdec.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver/audiodec/ffmpegdec.cpp b/src/driver/audiodec/ffmpegdec.cpp index 9294ebc9f..44624ea6f 100644 --- a/src/driver/audiodec/ffmpegdec.cpp +++ b/src/driver/audiodec/ffmpegdec.cpp @@ -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) {