提交 8318647c authored 作者: blu's avatar blu

bugfix: correctly handling video streams with extra data

上级 f68f7265
......@@ -356,6 +356,7 @@ protected:
//pAVFormatInput->flags = AVFMT_FLAG_NOBUFFER | AVFMT_FLAG_FLUSH_PACKETS;
numStreams = pAVFormatInput->nb_streams;
spdlog::info("{} num streams: {}", selfId, numStreams);
int *streamList = (int *)av_mallocz_array(numStreams, sizeof(*streamList));
if (!streamList) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论