Compile ffplay.c with Visual Studio
|Reported by:||Alex Christensen||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
I have a successful build of ffplay using Visual Studio 2013. I linked with today's libraries from http://ffmpeg.zeranoe.com/builds/ and I needed these two changes to make it compile. The first is to avoid what seems like a bug in Visual Studio to avoid this error:
error C2440: 'initializing' : cannot convert from 'AVRational' to 'int'
I've attached a proposed patch.