[Libav-user] what is problem ?

강구철 kckang at skycom.ne.kr
Thu Apr 13 04:56:24 EEST 2017


this is err message. 

I use ffmpeg3.2.4. why no define PIX_FMT_RGB24 ? 

is this version problem ?? pls help me!!!

 

 

 

gcc -Wall -ggdb tutorial01.c  -c -o obj/tutorial01.o

tutorial01.c: In function ‘main’:

tutorial01.c:84: warning: ‘codec’ is deprecated (declared at
/usr/local/include/libavformat/avformat.h:893)

tutorial01.c:92: warning: ‘codec’ is deprecated (declared at
/usr/local/include/libavformat/avformat.h:893)

tutorial01.c:113: warning: ‘avpicture_get_size’ is deprecated (declared
at /usr/local/include/libavcodec/avcodec.h:5468)

tutorial01.c:113: error: ‘PIX_FMT_RGB24’ undeclared (first use in this
function)

tutorial01.c:113: error: (Each undeclared identifier is reported only once

tutorial01.c:113: error: for each function it appears in.)

tutorial01.c:135: warning: ‘avpicture_fill’ is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:5453)

tutorial01.c:144: warning: ‘avcodec_decode_video2’ is deprecated
(declared at /usr/local/include/libavcodec/avcodec.h:4812)

tutorial01.c:169: warning: ‘av_free_packet’ is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:4473)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4438 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170413/fb3aeef8/attachment.bin>


More information about the Libav-user mailing list