Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-03-15 00:38:07 +0400
committerStefano Sabatini <stefasab@gmail.com>2013-03-15 00:39:15 +0400
commit9bb25dbd13e0e1a41fc781618acdaedbe2a1c3bb (patch)
treee517de642bf631a66ef0cc4ffce14c0019e59ee4 /doc/examples/filtering_audio.c
parent9076a6a943f7855756222181698aba78d3773d8f (diff)
examples/filtering_*: constify AVFrame * for print_frame() and display_frame() functions
Diffstat (limited to 'doc/examples/filtering_audio.c')
-rw-r--r--doc/examples/filtering_audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c
index 01e692688a..456a1c9862 100644
--- a/doc/examples/filtering_audio.c
+++ b/doc/examples/filtering_audio.c
@@ -150,7 +150,7 @@ static int init_filters(const char *filters_descr)
return 0;
}
-static void print_frame(AVFrame *frame)
+static void print_frame(const AVFrame *frame)
{
const int n = frame->nb_samples * av_get_channel_layout_nb_channels(av_frame_get_channel_layout(frame));
const uint16_t *p = (uint16_t*)frame->data[0];