Michael Niedermayer
c16e80ee3d
doc/examples: remove unneeded NULL checks
dst_file cannot be NULL
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 68bca03951 )
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
cddbf95c5f
doc/examples/resampling_audio: use av_freep() for saftey
also its better in examples to use the safer functions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
341639fe80
doc/examples: remove pathes from doxy examples
This makes the examples page less cluttered
Reviewed-by: Clément Bœsch <u@pkh.me>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Timothy Gu
b242c156e5
examples/resample_audio: check av_samples_get_buffer_size() return code
Fixes CID1135757.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
12 years ago
Clément Bœsch
a8ac2a1530
doc/examples: make fill_samples static.
This is required to build with FFmpeg compilation options.
12 years ago
Stefano Sabatini
66c92a1575
examples/resampling_audio: make use of av_samples_alloc_array_and_samples()
Simplify.
13 years ago
Michael Niedermayer
48a7981e6f
doc/examples: fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
55b243cade
doc/examples/resampling_audio.c: fix path
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
89920387da
examples: add resampling_audio.c file
13 years ago