X-Git-Url: http://git.ffmpeg.org/gitweb/ffmpeg.git/blobdiff_plain/d42db44cfe58493eb26d2d2f307ced4dd4ca1978..08303d774132775d49d4ba767092de5d426f089d:/libavcodec/internal.h?ds=sidebyside diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 4648c02e09..c1108fffbb 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -105,11 +105,10 @@ struct AVCodecDefault { * Return the hardware accelerated codec for codec codec_id and * pixel format pix_fmt. * - * @param codec_id the codec to match - * @param pix_fmt the pixel format to match + * @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(enum AVCodecID codec_id, enum AVPixelFormat pix_fmt); +AVHWAccel *ff_find_hwaccel(AVCodecContext *avctx); /** * Return the index into tab at which {a,b} match elements {[0],[1]} of tab.