ffmpeg/libavutil
Ganesh Ajjanagadde 1d4af04adf avutil/attributes: add av_warn_unused_result
GCC 3.4 introduced an attribute warn_unused_result to warn when a programmer
discards the return value. Applying this judiciously across the codebase can help
in fixing a lot of problems. At a high level, functions which return error codes
should always be checked. More concretely, consider the functions ff_add_format
and the like in avfilter/formats.h. A quick examination shows that a large portion
of libavfilter fails to handle the associated errors, usually AVERROR(ENOMEM).
The above example was where I observed the utility of this, but it should be
useful in many places across the code base.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-05 19:30:20 +02:00
..
aarch64
arm avutil/attributes: add AV_GCC_VERSION_AT_MOST 2015-09-18 12:41:29 -03:00
avr32
bfin
mips mips: intreadwrite: Only execute that code for mips r1 or r2 2015-09-29 11:10:37 +02:00
ppc
sh4
tomi
x86 x86inc: Make cpuflag() and notcpuflag() return 0 or 1 2015-10-01 18:14:12 +02:00
Makefile
adler32.c
adler32.h
aes.c
aes.h
atomic.c
atomic.h
atomic_gcc.h
atomic_suncc.h
atomic_win32.h
attributes.h avutil/attributes: add av_warn_unused_result 2015-10-05 19:30:20 +02:00
audio_fifo.c
audio_fifo.h
avassert.h
avstring.c avutil/avstring: Inline some tiny functions 2015-09-26 22:08:02 +02:00
avstring.h avutil/avstring: Inline some tiny functions 2015-09-26 22:08:02 +02:00
avutil.h
avutilres.rc
base64.c
base64.h
blowfish.c
blowfish.h
bprint.c
bprint.h
bswap.h
buffer.c
buffer.h
buffer_internal.h
camellia.c
camellia.h
cast5.c
cast5.h
channel_layout.c lavu: Drop FF_API_GET_CHANNEL_LAYOUT_COMPAT cruft 2015-09-05 20:36:19 +02:00
channel_layout.h
color_utils.c avutil/color_utils: Add basic transfer functions for each AVColorTransferCharacteristic 2015-09-10 23:53:05 +02:00
color_utils.h avutil/color_utils: Add basic transfer functions for each AVColorTransferCharacteristic 2015-09-10 23:53:05 +02:00
colorspace.h
common.h
cpu.c
cpu.h
cpu_internal.h
crc.c
crc.h
des.c
des.h Merge commit 'a686e58165ca0f83966431a9166cb6e17bf6095c' 2015-09-07 12:28:25 +02:00
dict.c
dict.h
display.c
display.h
downmix_info.c
downmix_info.h
dynarray.h
error.c
error.h
eval.c
eval.h
fifo.c
fifo.h
file.c
file.h
file_open.c
fixed_dsp.c
fixed_dsp.h
float_dsp.c
float_dsp.h
frame.c Merge commit '1aa24df74c052a73175c43e57d35b4835e537ec8' 2015-10-03 09:52:39 +02:00
frame.h Merge commit '1aa24df74c052a73175c43e57d35b4835e537ec8' 2015-10-03 09:52:39 +02:00
hash.c
hash.h
hmac.c
hmac.h
imgutils.c Merge commit '2268db2cd052674fde55c7d48b7a5098ce89b4ba' 2015-09-08 16:35:28 +02:00
imgutils.h
integer.c
integer.h
internal.h lavu: Drop FF_API_GET_CHANNEL_LAYOUT_COMPAT cruft 2015-09-05 20:36:19 +02:00
intfloat.h
intmath.c
intmath.h
intreadwrite.h
lfg.c
lfg.h
libavutil.v
libm.h
lls.c
lls.h
log.c avutil/log: fix zero length gnu_printf format string warning 2015-09-17 18:58:01 +02:00
log.h
log2_tab.c
lzo.c
lzo.h
macros.h
mathematics.c
mathematics.h
md5.c
md5.h
mem.c
mem.h
mem_internal.h
motion_vector.h
murmur3.c
murmur3.h
opencl.c avutil/opencl: Fix volatile pointer 2015-09-26 20:28:29 +02:00
opencl.h
opencl_internal.c
opencl_internal.h
opt.c avutil/opt: refactor pixel/sample fmt common case 2015-09-08 22:49:33 +02:00
opt.h avutil/opt: add AV_OPT_TYPE_BOOL 2015-09-08 22:39:20 +02:00
parseutils.c
parseutils.h
pca.c
pca.h
pixdesc.c pixfmt: Add new SMPTE color primaries and transfer characteristic values 2015-09-17 10:31:43 +02:00
pixdesc.h Merge commit '7b02cb29d9d60cdd5ef321043d11d02023e7dc8f' 2015-09-12 13:03:04 +02:00
pixelutils.c
pixelutils.h
pixfmt.h pixfmt: Add new SMPTE color primaries and transfer characteristic values 2015-09-17 10:31:43 +02:00
qsort.h
random_seed.c
random_seed.h
rational.c
rational.h
rc4.c
rc4.h
replaygain.h
reverse.c
ripemd.c
ripemd.h
samplefmt.c
samplefmt.h
sha.c
sha.h
sha512.c
sha512.h
softfloat.c
softfloat.h
softfloat_tables.h
stereo3d.c
stereo3d.h
tea.c
tea.h
thread.h
threadmessage.c
threadmessage.h
time.c
time.h
time_internal.h
timecode.c
timecode.h
timer.h
timestamp.h
tree.c
tree.h
twofish.c
twofish.h
utf8.c
utils.c
version.h Merge commit '1aa24df74c052a73175c43e57d35b4835e537ec8' 2015-10-03 09:52:39 +02:00
wchar_filename.h
x86_cpu.h
xga_font_data.c
xga_font_data.h
xtea.c
xtea.h