diff options
Diffstat (limited to 'doc/examples/vaapi_encode.c')
-rw-r--r-- | doc/examples/vaapi_encode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/vaapi_encode.c b/doc/examples/vaapi_encode.c index 46bca1b3fe..e232fa579a 100644 --- a/doc/examples/vaapi_encode.c +++ b/doc/examples/vaapi_encode.c @@ -105,7 +105,7 @@ int main(int argc, char *argv[]) FILE *fin = NULL, *fout = NULL; AVFrame *sw_frame = NULL, *hw_frame = NULL; AVCodecContext *avctx = NULL; - AVCodec *codec = NULL; + const AVCodec *codec = NULL; const char *enc_name = "h264_vaapi"; if (argc < 5) { |