From 5c1d7246cd65dc4db1b6dc36e29ce39fc1068f3f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 6 Mar 2014 18:01:05 +0100 Subject: lavc: set AVCodecContext.hwaccel in ff_get_format() This way each decoder does not have to do the same thing manually. --- libavcodec/internal.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libavcodec/internal.h') diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 678d6f10ce..78af94ecc4 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -102,15 +102,6 @@ struct AVCodecDefault { const uint8_t *value; }; -/** - * Return the hardware accelerated codec for codec codec_id and - * pixel format pix_fmt. - * - * @param avctx The codec context containing the codec_id and pixel format. - * @return the hardware accelerated codec, or NULL if none was found. - */ -AVHWAccel *ff_find_hwaccel(AVCodecContext *avctx); - /** * Return the index into tab at which {a,b} match elements {[0],[1]} of tab. * If there is no such matching pair then size is returned. -- cgit v1.2.3