Commit 1546a41a authored by Vittorio Giovara's avatar Vittorio Giovara

pixdesc: Drop unneeded deprecation warning guards

parent 9cac1b4b
...@@ -1610,7 +1610,6 @@ static const char *chroma_location_names[AVCHROMA_LOC_NB] = { ...@@ -1610,7 +1610,6 @@ static const char *chroma_location_names[AVCHROMA_LOC_NB] = {
"top", "bottomleft", "bottom", "top", "bottomleft", "bottom",
}; };
FF_DISABLE_DEPRECATION_WARNINGS
static enum AVPixelFormat get_pix_fmt_internal(const char *name) static enum AVPixelFormat get_pix_fmt_internal(const char *name)
{ {
enum AVPixelFormat pix_fmt; enum AVPixelFormat pix_fmt;
...@@ -1707,7 +1706,6 @@ enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc) ...@@ -1707,7 +1706,6 @@ enum AVPixelFormat av_pix_fmt_desc_get_id(const AVPixFmtDescriptor *desc)
return desc - av_pix_fmt_descriptors; return desc - av_pix_fmt_descriptors;
} }
FF_ENABLE_DEPRECATION_WARNINGS
int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int av_pix_fmt_get_chroma_sub_sample(enum AVPixelFormat pix_fmt,
int *h_shift, int *v_shift) int *h_shift, int *v_shift)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment