Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

examples: fails to build with ffmpeg >= 4.4 due to -Werror #2798

Closed
jbeich opened this issue Mar 22, 2021 · 1 comment · Fixed by #2799
Closed

examples: fails to build with ffmpeg >= 4.4 due to -Werror #2798

jbeich opened this issue Mar 22, 2021 · 1 comment · Fixed by #2799

Comments

@jbeich
Copy link
Contributor

jbeich commented Mar 22, 2021

Regressed by FFmpeg/FFmpeg@f7db77b

examples/dmabuf-capture.c:494:4: error: 'av_init_packet' is deprecated [-Werror,-Wdeprecated-declarations]
                        av_init_packet(&pkt);
                        ^
/usr/include/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/include/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
emersion added a commit to emersion/wlroots that referenced this issue Mar 22, 2021
It's deprecated in ffmpeg >= 4.4.

Closes: swaywm#2798
@emersion
Copy link
Member

#2799

emersion added a commit to emersion/wlroots that referenced this issue Mar 22, 2021
It's deprecated in ffmpeg >= 4.4.

Closes: swaywm#2798
emersion added a commit to emersion/wlroots that referenced this issue Mar 22, 2021
It's deprecated in ffmpeg >= 4.4.

Closes: swaywm#2798
emersion added a commit to emersion/wlroots that referenced this issue Mar 22, 2021
It's deprecated in ffmpeg >= 4.4.

Closes: swaywm#2798
kennylevinsen pushed a commit that referenced this issue Mar 22, 2021
It's deprecated in ffmpeg >= 4.4.

Closes: #2798
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants