[haiku-bugs] Re: [Haiku] #14408: ffmpeg addon: update to latest API

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 27 Aug 2018 12:48:52 -0000

#14408: ffmpeg addon: update to latest API
------------------------------+----------------------------
   Reporter:  jackburton      |      Owner:  Barrett
       Type:  enhancement     |     Status:  new
   Priority:  normal          |  Milestone:  Unscheduled
  Component:  Kits/Media Kit  |    Version:  R1/Development
 Resolution:                  |   Keywords:
 Blocked By:                  |   Blocking:
Has a Patch:  0               |   Platform:  All
------------------------------+----------------------------
Description changed by jackburton:

Old description:

The ffmpeg addon was written with an older version of the ffmpeg library.
Many things changed and various functions were deprecated.
We should update it so it uses the newest API.

New description:

 The ffmpeg addon was written with an older version of the ffmpeg library.
 Many things changed and various functions were deprecated.
 We should update it so it uses the newest API.

 Incomplete list:

 {{{
 av_free_packet() -> av_packet_unref()
 avcodec_decode_video2()/avcodec_decode_audio4 ->
 avcodec_send_packet()/avcodec_receive_frame()
 av_free() -> av_freep()
 a codec should not be closed and then opened again
 use the correct av_free* methods
 }}}

--

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14408#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: