Anton Khirnov
cb45553f57
Remove pointless #undefs of previously forbidden functions.
12 years ago
Michael Niedermayer
49d935b5d2
seek-test: support printing multiple packets
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
babf2a3467
seek-test: support manually forcing a seek to a specific position
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
a92be9b856
Replace memset(0) by zero initializations.
...
Also remove one pointless zero initialization in rangecoder.c.
13 years ago
Anton Khirnov
cd3716b9aa
Replace all uses of av_close_input_file() with avformat_close_input().
13 years ago
Michael Niedermayer
cd2f7ed000
seek-test: use standard format specifiers in snprintf()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
16abd68779
seektest: floatfree
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Diego Biurrun
9a5d6c23c5
tests/tools/examples: Replace direct exit() calls by return.
13 years ago
Janne Grunau
c12ef64d69
seek-test: free options dictionary after use
13 years ago
Janne Grunau
d88e9f1c07
seek-test: update to recent avformat api
13 years ago
Diego Biurrun
c960e67ad0
Replace deprecated av_find_stream_info() by avformat_find_stream_info().
13 years ago
Michael Niedermayer
371888cad5
seektest: forgot adding a file (from commit 191c5f8ff3
during the last merge)
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Diego Biurrun
191c5f8ff3
build: move tests/seek_test.c to libavformat and reuse generic build rules
14 years ago
Mans Rullgard
0ebcdf5cda
Do not include mathematics.h in avutil.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Reimar Döffinger
f2e033ac84
Free packets read in seek_test.
...
Originally committed as revision 22110 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c7ff04e2f3
Fix some memory leaks in seek_test test program:
...
- do not allocate context twice
- close the input file before exiting
Originally committed as revision 22108 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
2bc70a7681
Print "NOPTS" when AV_NOPTS_VALUE is encountered during seek regression tests.
...
This makes the output nicely aligned even in for those cases, and might
also avoid some issues with printf implementations that can not handle well
very large float values (e.g. msvcrt without MinGW wrapper IIRC).
Originally committed as revision 20334 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
933018e249
Align the seek regression test output for better readability.
...
Originally committed as revision 20309 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
a828d48cfc
Replace seek test error return numbers by the corresponding E* strings.
...
Hopefully this fixes regression tests on DOS.
It breaks alignment of the output a bit more, but this should be easy to
fix with a second patch.
Originally committed as revision 20282 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Benoit Fouet
888facff22
Fix seek test build, by undefining printf and fprintf.
...
Originally committed as revision 18201 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
e2eb0f52ec
Fix a warning on an uninitialized variable.
...
Originally committed as revision 18195 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
b82744c9ae
Switch regression test to the new seeking API.
...
Originally committed as revision 17957 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8e2fd8e1d4
Replace the calls to the deprecated av_alloc_format_context() with
...
corresponding calls to avformat_alloc_context().
Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
953f54f1f4
#include required stdint.h header directly.
...
Originally committed as revision 13084 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
aba29e6feb
Fix b-libav.ul/al seek regression test.
...
Originally committed as revision 11696 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
David Conrad
99e8b22dc5
Use PRId64 in seek test
...
Originally committed as revision 10098 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
6b30123208
fix compilation
...
Originally committed as revision 8779 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
716ae7caf8
indent
...
Originally committed as revision 7844 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b929eb5041
dont output information about what is demuxed after a seek failure
...
Originally committed as revision 7843 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
93dd19e069
10l uninitalized cola
...
seek regression tests are now deterministic
Originally committed as revision 7833 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f97b7e66de
seek regression tests
...
Originally committed as revision 7832 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago