mirror of https://git.ffmpeg.org/ffmpeg.git
pixdesc: Drop unneeded deprecation warning guards
This commit is contained in:
parent
9cac1b4b4f
commit
1546a41ada
|
@ -1610,7 +1610,6 @@ static const char *chroma_location_names[AVCHROMA_LOC_NB] = {
|
|||
"top", "bottomleft", "bottom",
|
||||
};
|
||||
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
static enum AVPixelFormat get_pix_fmt_internal(const char *name)
|
||||
{
|
||||
enum AVPixelFormat pix_fmt;
|
||||
|
@ -1707,7 +1706,6 @@ enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc)
|
|||
|
||||
return desc - av_pix_fmt_descriptors;
|
||||
}
|
||||
FF_ENABLE_DEPRECATION_WARNINGS
|
||||
|
||||
int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt,
|
||||
int *h_shift, int *v_shift)
|
||||
|
|
Loading…
Reference in New Issue