summaryrefslogtreecommitdiff
path: root/doc/examples/filtering_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/filtering_video.c')
-rw-r--r--doc/examples/filtering_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c
index 105a200d93..88394530ab 100644
--- a/doc/examples/filtering_video.c
+++ b/doc/examples/filtering_video.c
@@ -53,8 +53,8 @@ static int64_t last_pts = AV_NOPTS_VALUE;
static int open_input_file(const char *filename)
{
+ const AVCodec *dec;
int ret;
- AVCodec *dec;
if ((ret = avformat_open_input(&fmt_ctx, filename, NULL, NULL)) < 0) {
av_log(NULL, AV_LOG_ERROR, "Cannot open input file\n");