[
https://issues.apache.org/jira/browse/GUACAMOLE-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Jumper reopened GUACAMOLE-167:
--------------------------------------
We're using the wrong version check for the newer FFmpeg API. From
GUACAMOLE-217:
{quote}
>From {{doc/APIchanges}}:
{code:none}
2016-04-21 - 7fc329e - lavc 57.37.100 - avcodec.h
Add a new audio/video encoding and decoding API with decoupled input
and output -- avcodec_send_packet(), avcodec_receive_frame(),
avcodec_send_frame() and avcodec_receive_packet()
{code}
We should be using the older API for anything older than 57.37.100, which does
include the version currently in Ubuntu 16.10.
{quote}
> avcodec_encode_video2() is deprecated
> -------------------------------------
>
> Key: GUACAMOLE-167
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-167
> Project: Guacamole
> Issue Type: Bug
> Components: guacenc
> Affects Versions: 0.9.10-incubating
> Environment: FreeBSD, Head, 11.0, 10.3
> Reporter: Richard Gallamore
> Assignee: Michael Jumper
> Priority: Minor
> Fix For: 0.9.12-incubating
>
> Attachments: guacamole-server-0.9.10.log,
> guacamole-server-tag_9a51675.log
>
>
> FFmpeg has deprecated {{avcodec_encode_video2()}} in favor of
> {{avcodec_send_frame()}} / {{avcodec_receive_packet()}}. See:
> https://github.com/FFmpeg/FFmpeg/blob/n3.2.2/libavcodec/avcodec.h#L5320
> Attached is a log file of the build if you are interested in other env, I can
> add those too.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)