On Fri, May 21, 2021 at 08:00:47PM +0200, Anton Khirnov wrote:
> Since AVStream.codec is gone, avformat.h does not require anything from
> avcodec.h.
> ---
>  libavformat/avformat.h | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

seems to break alltools build here

tools/uncoded_frame.c: In function ‘main’:
tools/uncoded_frame.c:179:52: error: implicit declaration of function 
‘av_get_pcm_codec’; did you mean ‘av_guess_codec’? 
[-Werror=implicit-function-declaration]
             st->stream->codecpar->codec_id       = 
av_get_pcm_codec(st->stream->codecpar->format, -1);
                                                    ^~~~~~~~~~~~~~~~
                                                    av_guess_codec
cc1: some warnings being treated as errors
ffbuild/common.mak:67: recipe for target 'tools/uncoded_frame.o' failed
make: *** [tools/uncoded_frame.o] Error 1

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to