History

avcodec: remove remaining references to avcodec_close()

James Almer committed 1 year ago

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

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/avcodec.h+2−8
@@ -510,9 +510,6 @@ typedef struct AVCodecContext { · 509 unmodified lines
510510 *
511511 * After being set, the array is owned by the codec and freed in
512512 * 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.
516513 */
517514 uint8_t *extradata;
518515 int extradata_size;
@@ -1737,9 +1734,6 @@ typedef struct AVCodecContext { · 1218 unmodified lines
17371734 *
17381735 * After being set, the array is owned by the codec and freed in
17391736 * 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.
17431737 */
17441738 int subtitle_header_size;
17451739 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
29412935 void av_fast_padded_mallocz(void *ptr, unsigned int *size, size_t min_size);
29422936
29432937 /**
2944− * @return a positive value if s is open (i.e. avcodec_open2() was called on it
2945− * with no corresponding avcodec_close()), 0 otherwise.
2938+ * @return a positive value if s is open (i.e. avcodec_open2() was called on it),
2939+ * 0 otherwise.
29462940 */
29472941 int avcodec_is_open(AVCodecContext *s);
29482942

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