Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -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 in | 511 | * 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 in | 1735 | * 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 | |||
| 2941 | void av_fast_padded_mallocz(void *ptr, unsigned int *size, size_t min_size); | 2935 | void 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 it | 2938 | * @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 | */ |
| 2947 | int avcodec_is_open(AVCodecContext *s); | 2941 | int avcodec_is_open(AVCodecContext *s); |
| 2948 | 2942 | ||