Change-Id: Iff3f19a062aedad56a4c28bf9ac2036cf792ae1e
libmmfile_formats_la_CFLAGS += $(DLOG_CFLAGS)
libmmfile_formats_la_LIBADD += $(DLOG_LIBS)
-
-libmmfile_formats_la_CFLAGS += -D__MMFILE_LIBAV_VERSION__=11.4
1);
if (videoStream->framePerSec == 0) {
-#ifndef __MMFILE_LIBAV_VERSION__
- videoStream->framePerSec = av_q2d(pFormatCtx->streams[i]->r_frame_rate);
-#else
- videoStream->framePerSec = av_q2d(pFormatCtx->streams[i]->avg_frame_rate);
-#endif
+ if ((int)av_q2d(pFormatCtx->streams[i]->avg_frame_rate) != 0)
+ videoStream->framePerSec = av_q2d(pFormatCtx->streams[i]->avg_frame_rate);
+ else
+ videoStream->framePerSec = av_q2d(pFormatCtx->streams[i]->r_frame_rate);
}
videoStream->width = pVideoCodecCtx->width;
Name: libmm-fileinfo
Summary: Media Fileinfo
-Version: 1.0.0
+Version: 1.0.1
Release: 0
Group: System/Libraries
License: Apache-2.0