Opened 3 years ago
Closed 3 years ago
#2382 closed defect (invalid)
1.5 fail to build
Reported by: | Owned by: | beastd | |
---|---|---|---|
Priority: | normal | Component: | libavcodec |
Version: | unspecified | Severity: | blocker |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
Debian unstable amd64 GCC 11.2.0
ffmpeg/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket *pkt); | ^~~~~~~~~~~~~~ libmpcodecs/vd_ffmpeg.c:928:11: error: implicit declaration of function 'avcodec_decode_video2'; did you mean 'avcodec_decode_subtitle2'? [-Werror=implicit-function-declaration] 928 | ret = avcodec_decode_video2(avctx, pic, &got_picture, &pkt); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_decode_subtitle2
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Sorry, and old patch was still applied to my packages.
CHristian
Note:
See TracTickets
for help on using tickets.
Thank for the report!
Something seems strange though.
We replaced those functions in MPlayer trunk quite some time ago.
When I look up
vd_ffmpeg.c
in MPlayer 1.5 sources, I can see that there is no call to avcodec_decode_video2 but avcodec_send_packet and avcodec_receive_frame are called instead.Can you re-check your process and report back?