Opened 8 years ago

Closed 8 years ago

#3580 closed defect (fixed)

Compile ffplay.c with Visual Studio

Reported by: Alex Christensen Owned by:
Priority: normal Component: ffplay
Version: git-master Keywords: msvc
Cc: Blocked 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 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.

Attachments (1)

patch (1.2 KB ) - added by Alex Christensen 8 years ago.

Download all attachments as: .zip

Change History (3)

by Alex Christensen, 8 years ago

Attachment: patch added


comment:1 by Carl Eugen Hoyos, 8 years ago

Keywords: windows removed

Patches are generally ignored on this bug tracker, please send them - made with git format-patch - to the ffmpeg-devel mailing list where they can be reviewed.

comment:2 by Carl Eugen Hoyos, 8 years ago

Keywords: msvc added
Resolution: fixed
Status: newclosed
Type: enhancementdefect

This should be fixed since e1169775 - thank you for the report!

Note: See TracTickets for help on using tickets.