From 28259c13db784d4b4175ca323dc1eeffec7f919b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 30 Jan 2016 21:33:48 +0100 Subject: nvenc: factor out the pixel format list --- libavcodec/nvenc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/nvenc.h') diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h index 32d3345414..7b1e8a5596 100644 --- a/libavcodec/nvenc.h +++ b/libavcodec/nvenc.h @@ -135,4 +135,6 @@ int ff_nvenc_encode_close(AVCodecContext *avctx); int ff_nvenc_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet); +extern const enum AVPixelFormat ff_nvenc_pix_fmts[]; + #endif /* AVCODEC_NVENC_H */ -- cgit v1.2.3