summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xformats/ffmpeg/mm_file_format_ffmpeg.c3
-rwxr-xr-xpackaging/libmm-fileinfo.spec2
2 files changed, 2 insertions, 3 deletions
diff --git a/formats/ffmpeg/mm_file_format_ffmpeg.c b/formats/ffmpeg/mm_file_format_ffmpeg.c
index aa0cd97..c15ea2e 100755
--- a/formats/ffmpeg/mm_file_format_ffmpeg.c
+++ b/formats/ffmpeg/mm_file_format_ffmpeg.c
@@ -177,8 +177,7 @@ HANDLING_DRM_DIVX:
#ifdef __MMFILE_TEST_MODE__
debug_msg ("FFMPEG video codec id: 0x%08X\n", pFormatCtx->streams[i]->codec->codec_id);
#endif
- if (ConvertVideoCodecEnum(pFormatCtx->streams[i]->codec->codec_id) != MM_VIDEO_CODEC_NONE)
- formatContext->videoTotalTrackNum += 1;
+ formatContext->videoTotalTrackNum += 1;
}
if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) {
#ifdef __MMFILE_TEST_MODE__
diff --git a/packaging/libmm-fileinfo.spec b/packaging/libmm-fileinfo.spec
index 528a13f..fbd9b7d 100755
--- a/packaging/libmm-fileinfo.spec
+++ b/packaging/libmm-fileinfo.spec
@@ -1,7 +1,7 @@
Name: libmm-fileinfo
Summary: Media Fileinfo
Version: 0.6.0
-Release: 22
+Release: 23
Group: System/Libraries
License: Apache License, Version 2.0
Source0: %{name}-%{version}.tar.gz