From 762251329bca80422a8e65d0cdb36e86e84883cf Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期五, 27 九月 2019 11:11:45 +0800 Subject: [PATCH] bug fix --- csrc/ffmpeg/format/FormatIn.cpp | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/csrc/ffmpeg/format/FormatIn.cpp b/csrc/ffmpeg/format/FormatIn.cpp index bee3ae7..eeb9621 100644 --- a/csrc/ffmpeg/format/FormatIn.cpp +++ b/csrc/ffmpeg/format/FormatIn.cpp @@ -274,19 +274,6 @@ return NULL; } - std::vector<AVStream*> FormatIn::allStreams(){ - std::vector<AVStream*> vec; - auto v = getStream(AVMEDIA_TYPE_VIDEO); - if (v){ - vec.push_back(v); - } - auto a = getStream(AVMEDIA_TYPE_AUDIO); - if (a){ - vec.push_back(a); - } - return vec; - } - AVCodecContext *FormatIn::getCodecContext(int type){ return dec_ctx_; } -- Gitblit v1.8.0