History

avcodec: remove remaining references to avcodec_close()

James Almer committed 1 year ago

Commit 4ebc1f01 parent 1c170611 file · +2 −8Browse files

Unified · Split

libavcodec/avcodec.h+2−8
@@ -510,9 +510,6 @@ typedef struct AVCodecContext { · 509 unmodified lines
510 *510 *
511 * After being set, the array is owned by the codec and freed in511 * After being set, the array is owned by the codec and freed in
512 * avcodec_free_context().512 * avcodec_free_context().
513 *
514 * @warning the deprecated avcodec_close() function DOES NOT free this array
515 * for decoding, it must be freed manually by the caller.
516 */513 */
517 uint8_t *extradata;514 uint8_t *extradata;
518 int extradata_size;515 int extradata_size;
@@ -1737,9 +1734,6 @@ typedef struct AVCodecContext { · 1218 unmodified lines
1737 *1734 *
1738 * After being set, the array is owned by the codec and freed in1735 * After being set, the array is owned by the codec and freed in
1739 * avcodec_free_context().1736 * avcodec_free_context().
1740 *
1741 * @warning the deprecated avcodec_close() function DOES NOT free this array
1742 * for encoding, it must be freed manually by the caller.
1743 */1737 */
1744 int subtitle_header_size;1738 int subtitle_header_size;
1745 uint8_t *subtitle_header;1739 uint8_t *subtitle_header;
@@ -2941,8 +2935,8 @@ void av_fast_padded_malloc(void *ptr, unsigned int *size, size_t min_size); · 1195 unmodified lines
2941void av_fast_padded_mallocz(void *ptr, unsigned int *size, size_t min_size);2935void av_fast_padded_mallocz(void *ptr, unsigned int *size, size_t min_size);
2942 2936
2943/**2937/**
2944 * @return a positive value if s is open (i.e. avcodec_open2() was called on it2938 * @return a positive value if s is open (i.e. avcodec_open2() was called on it),
2945 * with no corresponding avcodec_close()), 0 otherwise.2939 * 0 otherwise.
2946 */2940 */
2947int avcodec_is_open(AVCodecContext *s);2941int avcodec_is_open(AVCodecContext *s);
2948 2942

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t