VC 使用mingw32编译ffmpeg静态库所需文件(二),mingwexsrc.cpp

该博客分享了在VC环境下使用mingw32编译ffmpeg静态库时可能会遇到的问题,指出mingwexsrc.cpp包含了一些ffmpeg.a缺失的函数。虽然作者的项目中并未使用到这些函数,但提供了相关链接,包括delphi、iOS、Android平台的ffmpeg移植教程,以及ffmpeg在VC下的移植项目,部分资源为付费内容。
摘要由CSDN通过智能技术生成

VC 使用mingw32编译ffmpeg静态库所需文件(二),mingwexsrc.cpp

哈哈,这是我从一些项目里面看到的,这些函数是ffmpeg.a缺少的函数。估计大家会用得上.

当然我移植的的项目都不需要这些,因为我是用VC编译,所以不存在缺少mingw32里面的函数.

// mingwexsource.cpp
// ---------------------
// This file is to define and fill in libmingwex.a functions
// This is not a complete list by any means, and was coded due to incompatabilities of libmingwex.a
// With MSVC.  This file was created by Justin Ahn, and any questions can be directed to justin@soonahn.ca
//
#define WIN32_LEAN_AND_MEAN
#define _CRTIMP

#include <windows.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <time.h>
#include <errno.h>
#include <float.h>
#include <math.h>
#include <io.h>
#include <sys/timeb.h>
#include <time.h>

#ifdef __cplusplus
extern "C" {
#endif

extern int __cdecl _fpclass (double);
/*
#ifndef _ieeemisc_.obj
int __cdecl _fpclassf (float x) {
   return _fpclass(double(x));
}
#else
extern int __cdecl _fpclassf (float);
#endif
*/
int __cdecl _fpclassf (float x) {
   return _fpclass(double(x));
}
int __cdecl _fpclassl (long double x) {
   return _fpclass(double(x));
}
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值