diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2012-11-12 01:25:44 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-11-13 16:21:47 +0100 |
commit | cc085993f42cc01f394c2ce867397179bdf17cca (patch) | |
tree | 616f4117da0ad3da970c5415a348b45bd73d0450 /libavcodec/imgconvert.c | |
parent | c1a02e884ac785033baab356a5437adf057a4189 (diff) | |
download | ffmpeg-cc085993f42cc01f394c2ce867397179bdf17cca.tar.gz |
avcodec: remove ff_is_hwaccel_pix_fmt
It is used only in one place and is unlikely it would be needed
elsewhere.
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index fd30dc4596..dacf3c46bf 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -415,12 +415,6 @@ void avcodec_get_chroma_sub_sample(enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift = desc->log2_chroma_h; } -int ff_is_hwaccel_pix_fmt(enum AVPixelFormat pix_fmt) -{ - const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(pix_fmt); - return desc->flags & PIX_FMT_HWACCEL; -} - int avpicture_fill(AVPicture *picture, uint8_t *ptr, enum AVPixelFormat pix_fmt, int width, int height) { |