vlc | branch: master | Steve Lhomme <[email protected]> | Tue Jul 23 09:49:29 2019 +0200| [a430353bde516be4930a82734770e6b77e0d358d] | committer: Steve Lhomme
vaapi: use a const when reading the profile/number of pics > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a430353bde516be4930a82734770e6b77e0d358d --- modules/codec/avcodec/vaapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c index d997c5867e..5522f345c5 100644 --- a/modules/codec/avcodec/vaapi.c +++ b/modules/codec/avcodec/vaapi.c @@ -54,7 +54,7 @@ struct vlc_va_sys_t struct vaapi_context hw_ctx; }; -static int GetVaProfile(AVCodecContext *ctx, const es_format_t *fmt, +static int GetVaProfile(const AVCodecContext *ctx, const es_format_t *fmt, VAProfile *va_profile, int *vlc_chroma, unsigned *pic_count) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
