aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/encode_video.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-29 14:15:01 +0200
committerClément Bœsch <u@pkh.me>2017-03-29 14:15:01 +0200
commite9bd45746511ab3a5803bc1b3490f4d682144289 (patch)
treeb1dff921d549317849e000742b9588276c8d57b2 /doc/examples/encode_video.c
parent925ce244d873fb6a0cda0da6e1f8d34dc721ea53 (diff)
parente02524025bce2c8bf8b5bffd96479785c75a70d4 (diff)
downloadffmpeg-e9bd45746511ab3a5803bc1b3490f4d682144289.tar.gz
Merge commit 'e02524025bce2c8bf8b5bffd96479785c75a70d4'
* commit 'e02524025bce2c8bf8b5bffd96479785c75a70d4': examples/encode_video: constify the AVCodec instance Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'doc/examples/encode_video.c')
-rw-r--r--doc/examples/encode_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/encode_video.c b/doc/examples/encode_video.c
index 71c8c0bbee..265b529165 100644
--- a/doc/examples/encode_video.c
+++ b/doc/examples/encode_video.c
@@ -39,7 +39,7 @@
int main(int argc, char **argv)
{
const char *filename, *codec_name;
- AVCodec *codec;
+ const AVCodec *codec;
AVCodecContext *c= NULL;
int i, ret, x, y, got_output;
FILE *f;