Vittorio Giovara
c3bd1d60af
formats: Check memory allocations
10 years ago
Himangi Saraogi
88b160a457
avfilter: Return more meaningful error codes
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago
Vittorio Giovara
9d3b752fce
graphparser: Check av_get_token() memory error
...
CC: libav-stable@libav.org
Bug-Id: CID 1267891
10 years ago
Luca Barbato
a6653787a4
libopencv: Check kernel_str life cycle
...
The string might or might not be set depending if there
are args and in case of error it must be freed nonetheless.
CC: libav-stable@libav.org
Bug-Id: CID 739878 / CID 739882
10 years ago
Vittorio Giovara
22b985d59c
hqdn3d: check memory allocations and propagate errors
10 years ago
Vittorio Giovara
8805589b80
libopencv: Rework error handling in parse_iplconvkernel()
...
Fix 'values' memory leak in case of error.
CC: libav-stable@libav.org
Bug-Id: CID 739879
10 years ago
Anton Khirnov
728685f37a
Add a side data type for audio service type.
...
Currently, audio service type is a field in AVCodecContext. However,
side data is more appropriate for this kind of information.
10 years ago
Vittorio Giovara
4438c25638
vf_interlace: remove the warning tag in the message
...
The log level is already a warning.
10 years ago
Vittorio Giovara
15ea222778
vf_interlace: merge FIELD_LOWER check
10 years ago
Vittorio Giovara
046f75a970
vf_interlace: also assert for height
10 years ago
Vittorio Giovara
696141e898
vf_interlace: use image width rather than linesize
...
Based on a patch by Michael Niedermayer <michaelni@gmx.at>.
10 years ago
Vittorio Giovara
63be97ec40
lavfi: always check av_expr_parse_and_eval() return value
...
CC: libav-stable@libav.org
Bug-Id: CID 703624
10 years ago
Vittorio Giovara
d0b224054f
vf_frei0r: do not increment string if it reached the end
...
Bug-Id: 778
CC: libav-stable@libav.org
10 years ago
Михаил Муковников
71f29410e7
lavfi: Increase drawtext font size limits
...
Raise the maximum font size to a larger value.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Kieran Kunhya
96fda42a8f
vf_interlace: get rid of useless loads
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Michael Niedermayer
ca5c3ff909
vf_interlace: x86: improve asm performance
...
4775 decicycles -> 3688 decicycles
10 years ago
Vittorio Giovara
863ee8a855
lavfi: clean memory on error in ADD_FORMAT()
...
CC: libav-stable@libav.org
Bug-Id: CID 1250334
10 years ago
Kieran Kunhya
2e1704059a
vf_interlace: Add SIMD for lowpass filter
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Martin Storsjö
6b9b42cc55
drawtext: Remove the ifdef for localtime_r
...
If it isn't available in the system, we've got a fallback to
the normal localtime function, so normal code can assume it is
available as long as time_internal.h is included.
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
Vittorio Giovara
ac84c1ce24
avfilter: check filter link validity
...
Remove now redundant check.
CC: libav-stable@libav.org
Bug-Id: CID 700371
10 years ago
Vittorio Giovara
d1afd3e1d6
vf_format: check input validity
...
CC: libav-stable@libav.org
10 years ago
Vittorio Giovara
0d989dbfc4
af_resample: check av_opt_set_dict return value
...
CC: libav-stable@libav.org
Bug-Id: CID 1087076
10 years ago
Vittorio Giovara
6d96c7ea89
vf_showinfo: Forward the av_image_get_linesize error
...
CC: libav-stable@libav.org
Bug-Id: CID 1087086
10 years ago
Luca Barbato
f401792595
vf_drawtext: Do not leak the mmapped textfile
...
And validate its size while at it.
CC: libav-stable@libav.org
Bug-Id: CID 1244189
10 years ago
Timothy B. Terriberry
6cbbf0592f
resample: Avoid off-by-1 errors in PTS calcs.
...
The rounding used in the PTS calculations in filter_frame() does
not actually match the number of samples output by the resampler.
This leads to off-by-1 errors in the timestamps indicating gaps and
underruns, even when the input timestamps are all contiguous.
Bug-Id: 753
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Diego Biurrun
593aaee953
setpts: Add missing inttypes.h #include for PRId64
...
Also convert a debug av_log() to av_dlog().
10 years ago
Diego Biurrun
11cd727fbd
vsrc_movie: Adjust a silly typo from b977b287f6
10 years ago
Diego Biurrun
67a7695c14
avfilter: Remove unused variable from ff_get_video_buffer()
10 years ago
Diego Biurrun
b977b287f6
vsrc_movie: Avoid a variable indirection in movie_get_frame()
...
This avoids an unused variable warning with MSVC since the variable is
only used in a debug mode printf statement.
10 years ago
Anton Khirnov
1985c2e75c
Bump major versions of all libraries.
10 years ago
Anton Khirnov
f4c444e17d
Postpone API-incompatible changes until the next bump.
10 years ago
Kieran Kunhya
1ef9e83764
avcodec: Deprecate dtg_active_format field in favor of avframe side-data
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
10 years ago
Diego Biurrun
072916d903
filtfmts: Replace deprecated uses of AVFilterPad
...
Also add missing mem.h header for av_freep().
10 years ago
Diego Biurrun
c6a1ac2dd9
vf_fps: Replace use of deprecated AVFilterBufferRef by AVFrame
10 years ago
Luca Barbato
f0e9594819
af_channelmap: Set the frame channel layout
...
Otherwise the frame would show the first layout matching the
channel count.
10 years ago
Luca Barbato
87efaa97ce
af_join: Set the output frame format
10 years ago
Vittorio Giovara
52269f48e8
Revert "vf_interlace: deprecate lowpass option"
...
This reverts commit 35b05c5184
.
A warning is introduced in case this option is used.
10 years ago
Diego Biurrun
a8d803a320
vf_select: Drop a debug av_log with an unchecked double to enum conversion
...
CC: libav-stable@libav.org
10 years ago
Andrew Kelley
d3cfd7aff8
af_compand: make sure request_frame always outputs at least one frame
...
This fixes a segmentation fault because request_frame in fifo.c assumes
that the call to ff_request_frame will populate fifo->root.next.
Before, it was possible for request_frame in af_compand to not do this,
resulting in a null pointer access. Now, request_frame in af_compand
always will return at least one frame or an error, as per the API
specifications in avfilter.h for request_frame.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Vittorio Giovara
5a69ded12a
vf_showinfo: print display transformation values
11 years ago
Luca Barbato
ad0fe2f401
af_resample: Use avresample_get_out_samples
11 years ago
Anton Khirnov
7cc4c9f32f
lavfi/formats: avoid using AV_{PIX,SAMPLE}_FMT_NB
...
Thatt hardcodes the number of formats into lavfi and will break when a
shared lavu is updated, adding new formats.
11 years ago
Anton Khirnov
b03b2d86aa
buffersrc: avoid using AV_PIX_FMT_NB
...
That hardcodes the number of pixel formats into lavfi and will break
when a shared lavu is updated, adding new pixel formats.
11 years ago
Anton Khirnov
a7d070acb5
vf_fieldorder: avoid using AV_PIX_FMT_NB
...
That hardcodes the number of pixel formats into lavfi and will break
when a shared lavu is updated, adding new pixel formats.
11 years ago
Anton Khirnov
862f33c10e
vf_scale: use the pixfmt descriptor API
...
Avoid using AV_PIX_FMT_NB, since that hardcodes the number of pixel
formats into lavfi and will break when a shared lavu is updated, adding
new pixel formats.
11 years ago
Anton Khirnov
45fc73edfe
vf_format: rework format list parsing
...
Avoid using AV_PIX_FMT_NB, since that hardcodes the number of pixel
formats into lavfi and will break when a shared lavu is updated, adding
new pixel formats.
11 years ago
Janne Grunau
449511740f
build: handle library dependencies in configure
...
Instead of setting FFLIBS in each library Makefile configure
exports FFLIBS-$library in config.mak.
11 years ago
Alessandro Ghedini
1c0210c798
lavfi: add Bauer stereo-to-binaural audio filter
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Vittorio Giovara
d23fc8846d
filtfmts: remove unused lavf include
11 years ago
Vittorio Giovara
58400ac133
lavfi: name anonymous structs
11 years ago