[mythtv-commits] Ticket #13186: Replace deprecated ffmpeg functions

MythTV noreply at mythtv.org
Sat Dec 2 19:15:04 UTC 2017


#13186: Replace deprecated ffmpeg functions
------------------------------+-----------------------------
 Reporter:  pbennett          |          Owner:  pbennett
     Type:  Developer Task    |         Status:  new
 Priority:  minor             |      Milestone:  30.0
Component:  MythTV - General  |        Version:  Master Head
 Severity:  medium            |     Resolution:
 Keywords:                    |  Ticket locked:  0
------------------------------+-----------------------------

Comment (by pbennett):

 Patch 002 - Fix deprecated structure AVPicture and associated functions.

 Deprecated structures and functions and the replacements:
 * AVPicture -> AVFrame
 * avpicture_fill -> av_image_fill_arrays
 * av_picture_copy -> av_image_copy
 * avpicture_get_size -> av_image_get_buffer_size
 * avpicture_alloc -> av_image_alloc
 * avpicture_free -> av_freep
 * av_picture_pad -- I could not find a replacement function. There is no
 documentation on what it does, apart from "deprecated - unused".

 I did not test compile the following modules since I don't have the
 correct setups:
 * libs/libmythtv/obj/privatedecoder_vda.cpp :  MACX only
 * libs/libmythtv/obj/videoout_d3d.cpp : MS Windows only (direct 3d)

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13186#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list