pixdesc: Drop unneeded deprecation warning guards

This commit is contained in:
Vittorio Giovara 2016-01-21 17:46:59 -05:00
parent 9cac1b4b4f
commit 1546a41ada
1 changed files with 0 additions and 2 deletions

View File

@ -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)