summaryrefslogtreecommitdiff
path: root/doc/examples/filtering_video.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-03-14 21:38:07 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-03-14 21:39:15 +0100
commit9bb25dbd13e0e1a41fc781618acdaedbe2a1c3bb (patch)
treee517de642bf631a66ef0cc4ffce14c0019e59ee4 /doc/examples/filtering_video.c
parent9076a6a943f7855756222181698aba78d3773d8f (diff)
examples/filtering_*: constify AVFrame * for print_frame() and display_frame() functions
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 251f0feaec..daa39666fe 100644
--- a/doc/examples/filtering_video.c
+++ b/doc/examples/filtering_video.c
@@ -138,7 +138,7 @@ static int init_filters(const char *filters_descr)
return 0;
}
-static void display_frame(AVFrame *frame, AVRational time_base)
+static void display_frame(const AVFrame *frame, AVRational time_base)
{
int x, y;
uint8_t *p0, *p;