lundi 29 décembre 2014

ffmpeg avcodec_get_frame_defaults was declared deprecated

to make ffmpeg simple player


i refer to ffmpeg sample code (https://github.com/phamquy/FFmpeg-tutorial-samples/blob/master/tutorial03.c )


in window 7 with visual studio 12


first i made cmd-project, all link and complie is ok


but when i press F5 in vs12


1>ConsoleApplication1.cpp(141): error C4996: 'avcodec_get_frame_defaults': was declared deprecated Failed | ConsoleApplication1\ConsoleApplication1.vcxproj [Debug|x64]


what happen with me ?


i download latest ffmpeg dll again, but noting is changed


and google doesn't tell me what is wrong, what shold i replace with


i have no idead, if you know what function shold i use, please please warm answer


Aucun commentaire:

Enregistrer un commentaire