James Almer
1893495e1d
mov: Use av_stream_add_side_data() for displaymatrix side data
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
James Almer
79ff9935ae
utils: Add av_stream_add_side_data()
...
Functionally similar to av_packet_add_side_data(). Allows the use of an
already allocated buffer as stream side data.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Martin Storsjö
286ab878bd
fate.sh: Allow setting other make flags for running tests
...
If makeopts_fate is set, these makeopts are used for running the
tests instead of the normal makeopts. If it isn't set, the normal
makeopts variable is used as before.
This is useful if remote testing on a lesser machine where a large
number of parallel jobs might be undesireable, while wanting to speed
up the build with many parallel processes.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
James Almer
aa498c3183
avpacket: fix leak on realloc in av_packet_add_side_data()
...
If realloc fails, the pointer is overwritten and the previously allocated buffer
is leaked, which goes against the expected functionality of keeping the packet
unchanged in case of error.
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Anton Khirnov
c7ab0eb305
examples/decode_video: allocate the packet dynamically
...
AVPackets on stack are discouraged.
8 years ago
Anton Khirnov
728ea23cce
examples/decode_video: switch to the new decoding API
8 years ago
Anton Khirnov
f78d360bba
examples/decode_video: use a parser for splitting the input
...
Do not rely on the decoder handling this, as it's not guaranteed to
work.
8 years ago
Anton Khirnov
59ab9e8ba1
examples/encode_video: allocate the packet dynamically
...
AVPackets on stack are discouraged.
8 years ago
Anton Khirnov
5f102a9559
examples/encode_video: switch to the new encoding API
8 years ago
Anton Khirnov
fee0f1de2c
examples/decode_audio: flush the decoder
8 years ago
Anton Khirnov
9a38184a14
examples/decode_audio: allocate the packet dynamically
...
AVPackets on stack are discouraged now.
8 years ago
Anton Khirnov
45a1ce2ff7
examples/decode_audio: handle planar audio now produced by the MP2 decoder
8 years ago
Anton Khirnov
3d66717f7c
examples/decode_audio: use the new audio decoding API
8 years ago
Anton Khirnov
0946c754d9
examples/decode_audio: use a parser for splitting the input
...
Do not rely on the decoder handling this, as it's not guaranteed to
work.
8 years ago
Anton Khirnov
f27e262dbd
examples/encode_audio: switch to the new audio encoding API
8 years ago
Anton Khirnov
44c9f374f1
examples/qsvdec: convert to the new decoding API
8 years ago
Anton Khirnov
1dd2b6c91c
examples/qsvdec: switch to the hwcontext API
...
The code now does not depend on VA and will work on windows as well.
8 years ago
Andreas Cadhalpun
f92d7bdfdd
libopusdec: default to stereo for invalid number of channels
...
This fixes an out-of-bounds read if avc->channels is 0.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Diego Biurrun
b34c6cd57a
dvbsub: cosmetics: Group all debug code together
8 years ago
Diego Biurrun
b8cd7a3c8d
dvbsub: Check for errors from system()
...
libavcodec/dvbsubdec.c:145:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
libavcodec/dvbsubdec.c:148:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
8 years ago
Diego Biurrun
6427379f23
als: Restructure DEBUG ifdefs to avoid unused function parameter warnings
8 years ago
Diego Biurrun
367f95af55
ac3enc: Restructure DEBUG ifdefs to avoid unused function parameter warnings
8 years ago
Diego Biurrun
5eef983297
ape: Restructure DEBUG ifdefs to avoid unused function parameter warnings
8 years ago
Diego Biurrun
bdbb8c6866
doc: Add libxavs section
8 years ago
Diego Biurrun
97cd7a3dc0
rtpdec_mpeg4: const correctness for parse_fmtp_config()
...
libavformat/rtpdec_mpeg4.c:282:38: warning: passing argument 2 of ‘parse_fmtp_config’ discards ‘const’ qualifier from pointer target type
8 years ago
Diego Biurrun
81a3c42abe
Drop some bogus Doxygen documentation.
8 years ago
Diego Biurrun
a1d9de304f
Fix some mismatches between function parameter and doxygen parameter names.
8 years ago
Martin Storsjö
4d960a1185
aarch64: vp9itxfm: Use w3 instead of x3 for the int eob parameter
...
The clobbering tests in checkasm are only invoked when testing
correctness, so this bug didn't show up when benchmarking the
dc-only version.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Janne Grunau
e5b0fc170f
arm: vp9itxfm: Simplify the stack alignment code
...
This is one instruction less for thumb, and only have got
1/2 arm/thumb specific instructions.
Signed-off-by: Martin Storsjö <martin@martin.st>
8 years ago
Luca Barbato
3c7fa8cbb9
hlsenc: Fix the openssl support
8 years ago
Alexandra Hájková
0b5a26e8bc
qdm2: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
0dabd329e8
qcelp: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
770406d1e8
pcx: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
b3441350fa
opus: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
6f94a64bd6
nellymoser: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
15d4dbfd4a
jvdec: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
1df549bfa2
hqx: Convert to the new bitstream header
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
c5e01d9170
hq_hqa: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
b2c56301f9
gsm: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
2188d53906
g72x: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
799703c3ea
g2meet: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
b37b681f77
fraps: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
692ba4fe64
flashsv: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
418ccdd703
faxcompr: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
8df1ac6b78
exr: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
2906d8dcb3
escape130: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
c43eb73172
escape124: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
d8618570be
dvdsubdec: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
928f8c7ce3
dss_sp: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Alexandra Hájková
942e84d2a3
cook: Convert to the new bitstream reader
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago