diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-01-22 10:56:42 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-01-27 10:38:34 +0100 |
commit | 8e5746d46102d7ae3137cfd881e2974b4fca0c89 (patch) | |
tree | 76d8b0dd56532fd3cbfd14d4acfb7f1ac6ff200d /libavcodec/imgconvert.c | |
parent | 0dc6bab092f207f237b166a543cd9ea118825272 (diff) | |
download | ffmpeg-8e5746d46102d7ae3137cfd881e2974b4fca0c89.tar.gz |
lavc: remove disabled FF_API_GET_PIX_FMT_NAME cruft.
Diffstat (limited to 'libavcodec/imgconvert.c')
-rw-r--r-- | libavcodec/imgconvert.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c index eab051bacc..eeffc3f133 100644 --- a/libavcodec/imgconvert.c +++ b/libavcodec/imgconvert.c @@ -414,13 +414,6 @@ void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int * *v_shift = av_pix_fmt_descriptors[pix_fmt].log2_chroma_h; } -#if FF_API_GET_PIX_FMT_NAME -const char *avcodec_get_pix_fmt_name(enum PixelFormat pix_fmt) -{ - return av_get_pix_fmt_name(pix_fmt); -} -#endif - int ff_is_hwaccel_pix_fmt(enum PixelFormat pix_fmt) { return av_pix_fmt_descriptors[pix_fmt].flags & PIX_FMT_HWACCEL; |