[FFmpeg-devel] [PATCH 08/24] avcodec: remove deprecated FF_CODEC_CRYSTAL_HD

James Almer jamrial at gmail.com
Thu Jan 25 16:23:46 EET 2024


On 1/25/2024 11:12 AM, Andreas Rheinhardt wrote:
> James Almer:
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>   configure                  |  13 -
>>   libavcodec/Makefile        |   1 -
>>   libavcodec/allcodecs.c     |   6 -
>>   libavcodec/avcodec.h       |  18 -
>>   libavcodec/crystalhd.c     | 826 -------------------------------------
>>   libavcodec/options_table.h |   3 -
>>   libavcodec/version_major.h |   4 -
>>   7 files changed, 871 deletions(-)
>>   delete mode 100644 libavcodec/crystalhd.c
> 
>> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
>> index 3c2b0159a9..2306c0f7bf 100644
>> --- a/libavcodec/avcodec.h
>> +++ b/libavcodec/avcodec.h
>> @@ -794,24 +794,6 @@ typedef struct AVCodecContext {
>>        */
>>       float dark_masking;
>>   
>> -#if FF_API_SLICE_OFFSET
>> -    /**
>> -     * slice count
>> -     * - encoding: Set by libavcodec.
>> -     * - decoding: Set by user (or 0).
>> -     */
>> -    attribute_deprecated
>> -    int slice_count;
>> -
>> -    /**
>> -     * slice offsets in the frame in bytes
>> -     * - encoding: Set/allocated by libavcodec.
>> -     * - decoding: Set/allocated by user (or NULL).
>> -     */
>> -    attribute_deprecated
>> -    int *slice_offset;
>> -#endif
>> -
> 
> The removal of FF_API_SLICE_OFFSET should be in its own commit.

Yeah, it's obviously a mistake i made, probably during a rebase.

Will fix, thanks.


More information about the ffmpeg-devel mailing list