error: 'AV_PIX_FMT_YVYU422' undeclared here
Posted: 19 Aug 2016 10:32
Hi all.
I am trying make the vlc player.
(But I don't know the vlc version. Let me know how I get the version.)
I encountered error message "codec/avcodec/chroma.c:128:22: error: 'AV_PIX_FMT_YVYU422' undeclared here (not in a function)".
I found the definition into the "/opt/ffmpeg/include/libavutil/pixfmt.h".
So, I modified the chroma.c
libavutil/pixfmt.h -> /opt/ffmpeg/include/libavutil/pixfmt.h
But, I encounted error too.
/usr/include/libavcodec/avcodec.h:612:5: error: redeclaration of enumerator "AVCHROMA_LOC_NB"
What can I do?
Best regards,
KimGwanyoung.
I am trying make the vlc player.
(But I don't know the vlc version. Let me know how I get the version.)
I encountered error message "codec/avcodec/chroma.c:128:22: error: 'AV_PIX_FMT_YVYU422' undeclared here (not in a function)".
I found the definition into the "/opt/ffmpeg/include/libavutil/pixfmt.h".
So, I modified the chroma.c
libavutil/pixfmt.h -> /opt/ffmpeg/include/libavutil/pixfmt.h
But, I encounted error too.
/usr/include/libavcodec/avcodec.h:612:5: error: redeclaration of enumerator "AVCHROMA_LOC_NB"
What can I do?
Best regards,
KimGwanyoung.