]> git.sesse.net Git - ffmpeg/blobdiff - doc/APIchanges
avcodec/codec, allcodecs: Constify the AVCodec API
[ffmpeg] / doc / APIchanges
index bed34df8615a18b16bdd1219846b8e552c94ef89..9b7a2d4b99107b2cf82c7dc35e3b1ce59e4ff2c9 100644 (file)
@@ -6,7 +6,6 @@ libavcodec:    2017-10-21
 libavdevice:   2017-10-21
 libavfilter:   2017-10-21
 libavformat:   2017-10-21
-libavresample: 2017-10-21
 libpostproc:   2017-10-21
 libswresample: 2017-10-21
 libswscale:    2017-10-21
@@ -15,27 +14,77 @@ libavutil:     2017-10-21
 
 API changes, most recent first:
 
-2021-03-xx - xxxxxxxxxx - lavc 58.132.100 - codec.h
+2021-04-27 - xxxxxxxxxx - lavc yyyyyyyyy - codec.h
+  avcodec_find_encoder_by_name(), avcodec_find_encoder(),
+  avcodec_find_decoder_by_name() and avcodec_find_decoder()
+  now return a pointer to const AVCodec.
+
+2021-04-27 - xxxxxxxxxx - lavf yyyyyyyyy - avformat.h
+  Constified AVFormatContext.*_codec.
+
+2021-04-27 - xxxxxxxxxx - lavf yyyyyyyyy - avformat.h
+  Constified the pointers to AVInputFormats and AVOutputFormats
+  in AVFormatContext, avformat_alloc_output_context2(),
+  av_find_input_format(), av_probe_input_format(),
+  av_probe_input_format2(), av_probe_input_format3(),
+  av_probe_input_buffer2(), av_probe_input_buffer(),
+  avformat_open_input(), av_guess_format() and av_guess_codec().
+  Furthermore, constified the AVProbeData in av_probe_input_format(),
+  av_probe_input_format2() and av_probe_input_format3().
+
+2021-04-19 - xxxxxxxxxx - lavu 56.74.100 - tx.h
+  Add AV_TX_FULL_IMDCT and AV_TX_UNALIGNED.
+
+2021-04-17 - xxxxxxxxxx - lavu 56.73.100 - frame.h detection_bbox.h
+  Add AV_FRAME_DATA_DETECTION_BBOXES
+
+2021-04-06 - xxxxxxxxxx - lavf 58.78.100 - avformat.h
+  Add avformat_index_get_entries_count(), avformat_index_get_entry(),
+  and avformat_index_get_entry_from_timestamp().
+
+2021-03-21 - xxxxxxxxxx - lavu 56.72.100 - frame.h
+  Deprecated av_get_colorspace_name().
+  Use av_color_space_name() instead.
+
+-------- 8< --------- FFmpeg 4.4 was cut here -------- 8< ---------
+
+2021-03-19 - e8c0bca6bd - lavu 56.69.100 - adler32.h
+  Added a typedef for the type of the Adler-32 checksums
+  used by av_adler32_update(). It will be changed to uint32_t
+  at the next major bump.
+  The type of the parameter for the length of the input buffer
+  will also be changed to size_t at the next major bump.
+
+2021-03-19 - e318438f2f - lavf 58.75.100  - avformat.h
+  AVChapter.id will be changed from int to int64_t
+  on the next major version bump.
+
+2021-03-17 - f7db77bd87 - lavc 58.133.100 - codec.h
+  Deprecated av_init_packet(). Once removed, sizeof(AVPacket) will
+  no longer be a part of the public ABI.
+  Deprecated AVPacketList.
+
+2021-03-16 - 7d09579190 - lavc 58.132.100 - codec.h
   Add AV_CODEC_CAP_OTHER_THREADS as a new name for
   AV_CODEC_CAP_AUTO_THREADS. AV_CODEC_CAP_AUTO_THREADS
   is now deprecated.
 
-2021-03-12 - xxxxxxxxxx - lavc 58.131.100 - avcodec.h codec.h
+2021-03-12 - 6e7e3a3820 - lavc 58.131.100 - avcodec.h codec.h
   Add a get_encode_buffer callback to AVCodecContext, similar to
   get_buffer2 but for encoders.
   Add avcodec_default_get_encode_buffer().
   Add AV_GET_ENCODE_BUFFER_FLAG_REF.
   Encoders may now be flagged as AV_CODEC_CAP_DR1 capable.
 
-2021-03-10 - xxxxxxxxxx - lavf 58.72.100 - avformat.h
+2021-03-10 - 42e68fe015 - lavf 58.72.100 - avformat.h
   Change AVBufferRef related AVStream function and struct size
   parameter and fields type to size_t at next major bump.
 
-2021-03-10 - xxxxxxxxxx - lavc 58.130.100 - packet.h
+2021-03-10 - d79e0fe65c - lavc 58.130.100 - packet.h
   Change AVBufferRef related AVPacket function and struct size
   parameter and fields type to size_t at next major bump.
 
-2021-03-10 - xxxxxxxxxx - lavu 56.68.100 - buffer.h frame.h
+2021-03-10 - 14040a1d91 - lavu 56.68.100 - buffer.h frame.h
   Change AVBufferRef and relevant AVFrame function and struct size
   parameter and fields type to size_t at next major bump.