]> git.sesse.net Git - ffmpeg/blobdiff - doc/APIchanges
lavc: Remove old vaapi decode infrastructure
[ffmpeg] / doc / APIchanges
index 66fd1d17f2f360b228e24ab35b98501d6e3d59c5..c4cc0b4d0f5267bff893a37f36c7debe50fc9397 100644 (file)
@@ -2,115 +2,388 @@ Never assume the API of libav* to be stable unless at least 1 month has passed
 since the last major version increase.
 
 The last version increases were:
-libavcodec:    2014-08-09
-libavdevice:   2014-08-09
-libavfilter:   2014-08-09
-libavformat:   2014-08-09
-libavresample: 2014-08-09
-libswscale:    2014-08-09
-libavutil:     2014-08-09
+libavcodec:    2015-08-28
+libavdevice:   2015-08-28
+libavfilter:   2015-08-28
+libavformat:   2015-08-28
+libavresample: 2015-08-28
+libswscale:    2015-08-28
+libavutil:     2015-08-28
 
 
 API changes, most recent first:
 
-2014-xx-xx - xxxxxxx - lavu 54.02.0 - opt.h
+2016-xx-xx - xxxxxxx - lavc 59.26.0 - vaapi.h
+  Deprecate struct vaapi_context and the vaapi.h installed header.
+  Callers should set AVCodecContext.hw_frames_ctx instead.
+
+2016-07-20 - xxxxxxx - lavu 55.20.0 - cpu.h
+  Add AV_CPU_FLAG_SSSE3SLOW.
+
+2016-07-02 - 4926fa9 - lavu 55.19.0 - hwcontext_vaapi.h
+  Add driver quirks field to VAAPI-specific hwdevice and enum with
+  members AV_VAAPI_DRIVER_QUIRK_* to represent its values.
+
+2016-07-02 - b7c5f88 - lavu 55.18.0 - pixfmt.h
+  Add AV_PIX_FMT_P010(LE/BE).
+
+2016-06-21 - 32c8359 - lavc 57.24.0 - avcodec.h
+  Decoders now export the frame timestamp as AVFrame.pts. It was
+  previously exported as AVFrame.pkt_pts, which is now deprecated.
+
+2016-06-21 - 59e7361 - lavu 55.16.0 - hwcontext.h hwcontext_qsv.h
+  Add AV_HWDEVICE_TYPE_QSV and a new installed header with QSV-specific
+  hwcontext definitions.
+
+2016-06-21 - e85f6f7 - lavc 57.23.0 - avcodec.h
+  AVCodecContext.hw_frames_ctx now may be used by decoders.
+
+2016-06-12 - 90f469a - lavc 57.20.0 - avcodec.h
+  Add FF_PROFILE_H264_MULTIVIEW_HIGH and FF_PROFILE_H264_STEREO_HIGH.
+
+2016-05-26 - 1c9e861 - lavu 55.13.0 - hwcontext.h
+  Add av_hwdevice_ctx_create().
+
+2016-05-24 - ad61da05 - lavc 57.19.1 - avcodec.h
+  Adjust values for JPEG 2000 profiles.
+
+2016-05-18 - db7968b - lavf 57.7.0 - avio.h
+  Add AVIODataMarkerType, write_data_type, ignore_boundary_point and
+  avio_write_marker.
+
+2016-05-17 - 0c4468d - lavu 55.12.0 - opt.h
+  Add av_stereo3d_type_name() and av_stereo3d_from_name().
+
+2016-05-17 - c46db38 - lavu 55.11.0 - hwcontext_dxva2.h
+  Add new installed header with DXVA2-specific hwcontext definitions.
+
+2016-03-24 - 564b459 - lavu 55.10.0 - opt.h
+  Add av_opt_copy().
+
+2016-03-23 - 05f6670 - lavc 57.16.0 - 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().
+
+2016-03-20 - 33d1898 - lavc 57.15.0 - avcodec.h
+  Add a new bitstream filtering API working with AVPackets.
+  Deprecate the old bitstream filtering API.
+
+2016-03-19 - 07a844f - lavfi 6.3.0 - avfilter.h
+  Add AVFilterContext.hw_device_ctx.
+
+2016-03-19 - 551c677 - lavu 55.9.0 - hwcontext_vaapi.h
+  Add new installed header with VAAPI-specific hwcontext definitions.
+
+2016-03-19 - d264c72 - lavu 55.8.0 - pixfmt.h
+  Deprecate all AV_PIX_FMT_VAAPI_* formats.
+  Replaced by AV_PIX_FMT_VAAPI.
+
+2016-03-19 - b1f01e8 - lavu 55.7.0 - hwcontext.h
+  Add AVHWFramesConstraints and associated API.
+
+2016-02-23 - 9200514 - lavf 57.5.0 - avformat.h
+  Add AVStream.codecpar, deprecate AVStream.codec.
+
+2016-02-23 - lavc 57.14.0 - avcodec.h
+  998e1b8 - Add AVCodecParameters and its related API.
+  a806834 - Add av_get_audio_frame_duration2().
+
+2016-02-22 - ec4c483 - lavf 57.4.0 - avformat.h
+  Add AVFormatContext.protocol_whitelist and protocol_blacklist.
+  Add 'protocol_whitelist' and 'protocol_blacklist' private options for
+  avio_open2().
+
+2016-02-14 - 7b3214d0 - lavc 57.13.0 - avcodec.h
+  Add AVCodecContext.hw_frames_ctx.
+
+2016-02-14 - lavfi 6.2.0 - avfilter.h
+  b3dd30d avfilter.h - Add AVFilterLink.hw_frames_ctx.
+          buffersrc.h - Add AVBufferSrcParameters and functions for handling it.
+
+2016-02-14 - lavu 55.6.0
+  721a4ef buffer.h - Add av_buffer_pool_init2().
+  89923e4 hwcontext.h - Add a new installed header hwcontext.h with a new API
+                        for handling hwaccel frames.
+  ad884d1 hwcontext_cuda.h - Add a new installed header hwcontext_cuda.h with
+                             CUDA-specific hwcontext definitions.
+  a001ce3 hwcontext_vdpau.h - Add a new installed header hwcontext_vdpau.h with
+                              VDPAU-specific hwcontext definitions.
+  7bc780c pixfmt.h - Add AV_PIX_FMT_CUDA.
+
+2016-01-24 - 9f61abc - lavf 57.3.0 - avformat.h
+  Add AVFormatContext.opaque, io_open and io_close, allowing custom IO
+  for muxers and demuxers that open additional files.
+
+2015-12-12 - 2c68113 - lavc 57.12.0 - avcodec.h
+  Add AVCodecDescriptor.profiles and avcodec_profile_name().
+
+2015-12-06 - lavc 57.11.0 - avcodec.h dirac.h
+  31c51f7 - Add av_packet_add_side_data().
+  84adab3 - Add AVCodecContext.coded_side_data.
+  f0b769c - Add AVCPBProperties API.
+  e02de9d - Add a new public header dirac.h containing
+            av_dirac_parse_sequence_header()
+
+2015-11-20 - 462a54e - lavc 57.9.1 - avcodec.h
+  Deprecate rtp_callback without replacement, i.e. it won't be possible to
+  get image slices before the full frame is encoded any more. The libavformat
+  rtpenc muxer can still be used for RFC-2190 packetization.
+
+2015-11-18 - 79ae1e6 - lavc 57.9.0 - avcodec.h
+  Add AV_PKT_DATA_FALLBACK_TRACK for making fallback associations between
+  streams.
+
+2015-11-18 - 7f4ec43 - lavf 57.1.0 - avformat.h
+  Add av_stream_new_side_data().
+
+2015-11-13 - 92d107a - lavu 55.3.0 - xtea.h
+    Add av_xtea_le_init and av_xtea_le_crypt
+
+2015-11-09 - 48ff668 - lavfi 6.1.0 - avfilter.h
+    Add a frame_rate field to AVFilterLink
+
+2015-10-26 - lavc 57.7.0 - avcodec.h
+  ce70f28 - Deprecate av_free_packet(). Use av_packet_unref() as replacement,
+            it resets the packet in a more consistent way.
+  9b56d5c - Deprecate av_dup_packet(), it is a no-op for most cases.
+            Use av_packet_ref() to make a non-refcounted AVPacket refcounted.
+  a9a6010 - Add av_packet_alloc(), av_packet_clone(), av_packet_free().
+            They match the AVFrame functions with the same name.
+
+2015-10-21 - a17a766 - lavc 57.5.0 - avcodec.h
+  Add data and linesize array to AVSubtitleRect, to be used instead of
+  the ones from the embedded AVPicture.
+
+2015-10-16 - dc923bc - lavc 57.0.0 - qsv.h
+  Add an API for allocating opaque surfaces.
+
+2015-10-12 - 11c5f43 - lavu 55.2.0 - dict.h
+  Change return type of av_dict_copy() from void to int, so that a proper
+  error code can be reported.
+
+2015-09-29 - 948f3c1 - lavc 57.0.0 - avcodec.h
+  Change type of AVPacket.duration from int to int64_t.
+
+2015-09-18 - e3d4784 - lavc 57.2.0 - d3d11va.h
+  Add av_d3d11va_alloc_context(). This function must from now on be used for
+  allocating AVD3D11VAContext.
+
+2015-09-07 - lavu 55.0.0
+  b8b5d82 - Change type of AVPixFmtDescriptor.flags from uint8_t to uint64_t.
+  6b3ef7f - Change type of AVComponentDescriptor fields from uint16_t to int
+            and drop bit packing.
+  2268db2 - Add step, offset, and depth to AVComponentDescriptor to replace
+            the deprecated step_minus1, offset_plus1, and depth_minus1.
+
+2015-07-31 - lavu 54.17.0
+  7a7df34 - Add av_blowfish_alloc().
+  ae36545 - Add av_rc4_alloc().
+  5d8bea3 - Add av_xtea_alloc().
+  d9e8b47 - Add av_des_alloc().
+
+2015-07-29 - 7e38340 - lavu 54.16.0 - hmac.h
+  Add AV_HMAC_SHA224 and AV_HMAC_SHA256.
+
+2015-07-27 - lavc 56.35.0 - avcodec.h
+  7c6eb0a - Rename CODEC_FLAG* defines to AV_CODEC_FLAG*.
+  def9785 - Rename CODEC_CAP_* defines to AV_CODEC_CAP_*.
+  059a934 - Rename FF_INPUT_BUFFER_PADDING_SIZE and FF_MIN_BUFFER_SIZE
+            to AV_INPUT_BUFFER_PADDING_SIZE and AV_INPUT_BUFFER_MIN_SIZE.
+
+2015-07-20 - 5d3addb - lavc 56.33.0 - avcodec.h
+  Add AV_PKT_DATA_QUALITY_FACTOR to export the quality value of an AVPacket.
+
+2015-07-02 - 1316df7 - lavu 56.15.0
+  Add av_version_info().
+
+2015-07-01 - 0d449c8 - lavfi 5.1.0 - version.h
+             0f87f9b - lavd 55.2.0 - version.h
+  Add library identification symbols, LIBAVFILTER_IDENT and LIBAVDEVICE_IDENT.
+
+2015-06-07 - 252d620 - lavf 56.20.0 - avio.h
+  Add avio_put_str16be.
+
+2015-05-13 - f7cafb5 - lavu 54.14.0 - cpu.h
+  Add AV_CPU_FLAG_AVXSLOW.
+
+2015-05-13 - e7c5e17 - lavc 56.23.0
+  Add av_vda_default_init2.
+
+2015-04-19 - c253340 - lavu 54.12.0
+  Add AV_LOG_TRACE for extremely verbose debugging.
+
+2015-04-07 - 27f2746 - lavu 54.11.0
+  Add av_small_strptime().
+
+2015-03-29 - 6fe2641 - lavc 56.22.0
+  Add FF_PROFILE_DTS_EXPRESS.
+
+2015-03-29 - c484561 - lavu 54.10.0
+  Add AV_PIX_FMT_MMAL for MMAL hardware acceleration.
+
+2015-02-19 - 31d2039 - lavc 56.13
+  Add width, height, coded_width, coded_height and format to
+  AVCodecParserContext.
+
+2015-02-19 - 5b1d9ce - lavu 54.9.0
+  Add AV_PIX_FMT_QSV for QSV hardware acceleration.
+
+2015-01-27 - 728685f - lavc 56.12.0, lavu 54.8.0 - avcodec.h, frame.h
+  Add AV_PKT_DATA_AUDIO_SERVICE_TYPE and AV_FRAME_DATA_AUDIO_SERVICE_TYPE for
+  storing the audio service type as side data.
+
+2015-01-14 - e2ad0b6 - lavu 54.6.0 - imgutils.h
+  Add utility functions for image manipulation: av_image_get_buffer_size()
+  av_image_fill_arrays() and av_image_copy_to_buffer().
+
+2014-12-25 - c220a60 - lavc 56.10.0 - vdpau.h
+  Add av_vdpau_get_surface_parameters().
+
+2014-12-25 - 6c99c92 - lavc 56.9.0 - avcodec.h
+  Add AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH flag to av_vdpau_bind_context().
+
+2014-12-25 - 57b6704 - lavc 56.8.0 - avcodec.h
+  Add AVCodecContext.sw_pix_fmt.
+
+2014-11-07 - 1384df6 - lavf 56.06.3 - avformat.h
+  Add AVFormatContext.avoid_negative_ts.
+
+2014-11-06 - 5e80fb7 - lavc 56.6.0 - vorbis_parser.h
+  Add a public API for parsing vorbis packets.
+
+2014-10-24 - 1bd0bdc - lavu 54.5.0 - time.h
+  Add av_gettime_relative().
+
+2014-10-15 - 7ea1b34 - lavc 56.5.0 - avcodec.h
+  Replace AVCodecContext.time_base used for decoding
+  with AVCodecContext.framerate.
+
+2014-10-15 - d565fef1- lavc 56.4.0 - avcodec.h
+  Add AV_HWACCEL_FLAG_IGNORE_LEVEL flag to av_vdpau_bind_context().
+
+2014-10-13 - 2df0c32 - lavc 56.03.0 - avcodec.h
+  Add AVCodecContext.initial_padding. Deprecate the use of AVCodecContext.delay
+  for audio encoding.
+
+2014-10-08 - 5a419b2 - lavu 54.04.0 - pixdesc.h
+  Add API to return the name of frame and context color properties.
+
+2014-10-06 - e3e158e - lavc 56.2.0 - vdpau.h
+  Add av_vdpau_bind_context(). This function should now be used for creating
+  (or resetting) a AVVDPAUContext instead of av_vdpau_alloc_context().
+
+2014-08-25 - b263f8f - lavf 56.03.0 - avformat.h
+  Add AVFormatContext.max_ts_probe.
+
+------------------------------8<-------------------------------------
+                   11 branch was cut here
+----------------------------->8--------------------------------------
+
+2014-08-28 - 9301486 - lavc 56.1.0 - avcodec.h
+  Add AV_PKT_DATA_STEREO3D to export container-level stereo3d information.
+
+2014-08-13 - 8ddc326 - lavu 54.03.0 - mem.h
+  Add av_strndup().
+
+2014-08-13 - a8c104a - lavu 54.02.0 - opt.h
   Add av_opt_get_dict_val/set_dict_val with AV_OPT_TYPE_DICT to support
   dictionary types being set as options.
 
-2014-xx-xx - xxxxxxx - lavf 56.01.0 - avformat.h
+2014-08-13 - afbd4b8 - lavf 56.01.0 - avformat.h
   Add AVFormatContext.event_flags and AVStream.event_flags for signaling to
   the user when events happen in the file/stream.
 
-2014-04-xx - xxxxxxx - lavr 2.1.0 - avresample.h
+2014-08-10 - fb1ddcd - lavr 2.1.0 - avresample.h
   Add avresample_convert_frame() and avresample_config().
 
-2014-04-xx - xxxxxxx - lavu 54.1.0 - error.h
+2014-08-10 - fb1ddcd - lavu 54.1.0 - error.h
   Add AVERROR_INPUT_CHANGED and AVERROR_OUTPUT_CHANGED.
 
-2014-08-xx - xxxxxxx - lavc 55.57.4 - avcodec.h
+2014-08-08 - d35b94f - lavc 55.57.4 - avcodec.h
   Deprecate FF_IDCT_XVIDMMX define and xvidmmx idct option.
   Replaced by FF_IDCT_XVID and xvid respectively.
 
-2014-08-xx - xxxxxxx - lsws 2.1.3 - swscale.h
+2014-08-07 - bb78903 - lsws 2.1.3 - swscale.h
   sws_getCachedContext is not going to be removed in the future.
 
-2014-08-xx - xxxxxxx - lavc 55.57.3 - avcodec.h
+2014-08-07 - ad1ee5f - lavc 55.57.3 - avcodec.h
   reordered_opaque is not going to be removed in the future.
 
-2014-08-xx - xxxxxxx - lavu 53.22.0 - pixfmt.h
+2014-08-04 - e9abafc - lavu 53.22.0 - pixfmt.h
   Add AV_PIX_FMT_YA16 pixel format for 16 bit packed gray with alpha.
 
-2014-08-xx - xxxxxxx - lavu 53.21.1 - avstring.h
+2014-08-04 - e96c3b8 - lavu 53.21.1 - avstring.h
   Rename AV_PIX_FMT_Y400A to AV_PIX_FMT_YA8 to better identify the format.
   An alias pixel format and color space name are provided for compatibility.
 
-2014-08-xx - xxxxxxx - lavu 53.21.0 - pixdesc.h
+2014-08-04 - d2962e9 - lavu 53.21.0 - pixdesc.h
   Support name aliases for pixel formats.
 
-2014-08-xx - xxxxxxx - lavc 55.57.2 - avcodec.h
-2014-08-xx - xxxxxxx - lavu 53.20.0 - frame.h
+2014-08-03 - 1ef9e83 - lavc 55.57.2 - avcodec.h
+2014-08-03 - 1ef9e83 - lavu 53.20.0 - frame.h
   Deprecate AVCodecContext.dtg_active_format and use side-data instead.
 
-2014-08-xx - xxxxxxx - lavc 55.57.1 - avcodec.h
+2014-08-03 - 9f17685 - lavc 55.57.1 - avcodec.h
   Deprecate unused FF_IDCT_IPP define and ipp avcodec option.
   Deprecate unused FF_DEBUG_PTS define and pts avcodec option.
   Deprecate unused FF_CODER_TYPE_DEFLATE define and deflate avcodec option.
   Deprecate unused FF_DCT_INT define and int avcodec option.
   Deprecate unused avcodec option scenechange_factor.
 
-2014-07-xx - xxxxxxx - lavu 53.19.0 - avstring.h
+2014-07-29 - 69e7336 - lavu 53.19.0 - avstring.h
   Make name matching function from lavf public as av_match_name().
 
-2014-xx-xx - xxxxxxx - lavc 55.57.0 - avcodec.h
+2014-07-28 - c5fca01 - lavc 55.57.0 - avcodec.h
   Add AV_CODEC_PROP_REORDER to mark codecs supporting frame reordering.
 
-2014-07-xx - xxxxxxx - lavu 53.18.0 - display.h
+2014-07-09 - a54f03b - lavu 53.18.0 - display.h
   Add av_display_matrix_flip() to flip the transformation matrix.
 
-2014-07-xx - xxxxxxx - lavc 55.56.0 - dv_profile.h
+2014-07-09 - f6ee61f - lavc 55.56.0 - dv_profile.h
   Add a public API for DV profile handling.
 
-2014-06-xx - xxxxxxx - lavu 53.17.0 - imgutils.h
+2014-06-20 - 9e500ef - lavu 53.17.0 - imgutils.h
   Add av_image_check_sar().
 
-2014-06-xx - xxxxxxx - lavc 55.55.0 - avcodec.h
+2014-06-20 - 874390e - lavc 55.55.0 - avcodec.h
   Add av_packet_rescale_ts() to simplify timestamp conversion.
 
-2014-xx-xx - xxxxxxx - lavf 55.20.0 - avformat.h
+2014-06-18 - 194be1f - lavf 55.20.0 - avformat.h
   The proper way for providing a hint about the desired timebase to the muxers
   is now setting AVStream.time_base, instead of AVStream.codec.time_base as was
   done previously. The old method is now deprecated.
 
-2014-04-xx - xxxxxxx - lavc 55.54.0 - avcodec.h
+2014-06-01 - 0957b27 - lavc 55.54.0 - avcodec.h
   Add AVCodecContext.side_data_only_packets to allow encoders to output packets
   with only side data. This option may become mandatory in the future, so all
   users are recommended to update their code and enable this option.
 
-2014-xx-xx - xxxxxxx - lavu 53.16.0 - frame.h, pixfmt.h
+2014-06-01 - 8c02adc - lavu 53.16.0 - frame.h, pixfmt.h
   Move all color-related enums (AVColorPrimaries, AVColorSpace, AVColorRange,
   AVColorTransferCharacteristic, and AVChromaLocation) inside lavu.
   Add AVFrame fields for them on the next lavu major bump.
 
-2014-04-xx - xxxxxxx - lavr 1.3.0 - avresample.h
+2014-05-28 - b2d4565 - lavr 1.3.0 - avresample.h
   Add avresample_max_output_samples
 
-2014-05-24 - xxxxxxx - lavf 55.19.0 - avformat.h
+2014-05-28 - 6d21259 - lavf 55.19.0 - avformat.h
   Add strict_std_compliance and related AVOptions to support experimental
   muxing.
 
-2014-05-19 - xxxxxxx - lavf 55.18.0 - avformat.h
+2014-05-20 - c23c96b - lavf 55.18.0 - avformat.h
   Add av_stream_get_side_data() to access stream-level side data
   in the same way as av_packet_get_side_data().
 
-2014-05-xx - xxxxxxx - lavu 53.15.0 - frame.h, display.h
+2014-05-19 - bddd8cb - lavu 53.15.0 - frame.h, display.h
   Add AV_FRAME_DATA_DISPLAYMATRIX for exporting frame-level
   spatial rendering on video frames for proper display.
 
-2014-05-xx - xxxxxxx - lavc 55.53.0 - avcodec.h
+2014-05-19 - bddd8cb - lavc 55.53.0 - avcodec.h
   Add AV_PKT_DATA_DISPLAYMATRIX for exporting packet-level
   spatial rendering on video frames for proper display.
 
-2014-05-xx - xxxxxxx - lavf 55.17.1 - avformat.h
+2014-05-19 - a312f71 - lavf 55.17.1 - avformat.h
   Deprecate AVStream.pts and the AVFrac struct, which was its only use case.
   Those fields were poorly defined and not meant to be public, so there is
   no replacement for them.
@@ -120,7 +393,7 @@ API changes, most recent first:
   AVCodecContext.
 
 2014-05-15 - 0c1959b - lavf 55.17.0 - avformat.h
-  Add AVMFT_FLAG_BITEXACT flag. Muxers now use it instead of checking
+  Add AVFMT_FLAG_BITEXACT flag. Muxers now use it instead of checking
   CODEC_FLAG_BITEXACT on the first stream.
 
 2014-05-11 - 66e6c8a - lavu 53.14.0 - pixfmt.h
@@ -272,7 +545,7 @@ API changes, most recent first:
 
 2013-08-05 - f824535 - lavc 55.13.0 - avcodec.h
   Deprecate the bitstream-related members from struct AVVDPAUContext.
-  The bistream buffers no longer need to be explicitly freed.
+  The bitstream buffers no longer need to be explicitly freed.
 
 2013-08-05 - 549294f - lavc 55.12.0 - avcodec.h
   Deprecate the CODEC_CAP_HWACCEL_VDPAU codec capability. Use CODEC_CAP_HWACCEL
@@ -362,7 +635,7 @@ lavd 54.0.0, lavfi 3.5.0
                 * base -- is now stored in AVBufferRef
                 * reference, type, buffer_hints -- are unnecessary in the new API
                 * hwaccel_picture_private, owner, thread_opaque -- should not
-                  have been acessed from outside of lavc
+                  have been accessed from outside of lavc
                 * qscale_table, qstride, qscale_type, mbskip_table, motion_val,
                   mb_type, dct_coeff, ref_index -- mpegvideo-specific tables,
                   which are not exported anymore.
@@ -403,8 +676,10 @@ lavd 54.0.0, lavfi 3.5.0
                    9 branch was cut here
 ----------------------------->8--------------------------------------
 
-2012-12-29 - d8fd06c - lavu 52.3.0 - avstring.h
-  Add av_basename() and av_dirname().
+2012-12-29 - lavu 52.3.0
+  d8fd06c - Add av_basename() and av_dirname().
+  c1a02e8 - Add av_pix_fmt_get_chroma_sub_sample and deprecate
+            avcodec_get_chroma_sub_sample.
 
 2012-11-11 - 5980f5d - lavu 52.2.0 - audioconvert.h
   Rename audioconvert.h to channel_layout.h. audioconvert.h is now deprecated.