Alexander Strange wrote:

On Apr 18, 2011, at 3:03 AM, Anton Khirnov wrote:

 ---
 libavcodec/avcodec.h |   19 -------------------
 libavcodec/utils.c   |   16 ----------------
 libavcodec/version.h |    3 ---
 3 files changed, 0 insertions(+), 38 deletions(-)

 diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
 index cf3664a..78dd208 100644
 --- a/libavcodec/avcodec.h
 +++ b/libavcodec/avcodec.h
 @@ -3741,25 +3741,6 @@ int avcodec_decode_audio3(AVCodecContext *avctx, 
int16_t *samples,
                          int *frame_size_ptr,
                          AVPacket *avpkt);

 -#if FF_API_VIDEO_OLD
 -/**
 - * Decode a video frame from buf into picture.
 - * Wrapper function which calls avcodec_decode_video2.
 - *
 - * @deprecated Use avcodec_decode_video2 instead.
 - * @param avctx the codec context
 - * @param[out] picture The AVFrame in which the decoded video frame will be 
stored.
 - * @param[in] buf the input buffer
 - * @param[in] buf_size the size of the input buffer in bytes
 - * @param[in,out] got_picture_ptr Zero if no frame could be decompressed, 
otherwise, it is nonzero.
 - * @return On error a negative value is returned, otherwise the number of 
bytes
 - * used or zero if no frame could be decompressed.
 - */
 -attribute_deprecated int avcodec_decode_video(AVCodecContext *avctx, AVFrame 
*picture,
 -                         int *got_picture_ptr,
 -                         const uint8_t *buf, int buf_size);
 -#endif
 -

It feels strange to have the remaining public API called decode_video2 instead 
of renaming it to decode_video. I guess that would annoy people, though.

no please leave it, I kinda like the audio and video decode numbers going up 
over time ;)

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to