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)

<<attachment: winmail.dat>>

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to