Anton Khirnov
0d6b4351c6
Remove unnecessary use of avcodec_close().
...
Replace it with avcodec_free_context() or drop it completely as
appropriate.
5 years ago
Anton Khirnov
f30a41a608
Stop hardcoding align=32 in av_frame_get_buffer() calls.
...
Use 0, which selects the alignment automatically.
5 years ago
Carl Eugen Hoyos
464aa60eb5
tests/api-flac-test: Rename NUMBER_OF_FRAMES as NUMBER_OF_AUDIO_FRAMES.
...
In system header /usr/include/sys/mstsave.h, aix defines NUMBER_OF_FRAMES,
causing redefinition warnings.
6 years ago
Josh de Kock
89029bd2c7
lav*,tests: remove several register_all calls
...
avdevice_register_all() is still required to register devices into
lavf (this is required due to lavd being somewhat of a hack).
Signed-off-by: Josh de Kock <josh@itanimul.li>
7 years ago
Muhammad Faiz
cdd3048134
tests: do not use AVFrame accessor
...
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years ago
Hendrik Leppkes
c2f861ca42
Replace remaining occurances of av_free_packet with av_packet_unref
9 years ago
Ludmila Glinskih
86fb203246
api-flac-test: Fix the bug of comparing zero bytes
...
Add check for linesize.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
George Boyle
7728d231a6
fate/api-tests: Move api-flac-test to API tests directory.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Ludmila Glinskih
5adee9c0af
api-flac-test: Coding style
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
2a00ef5d81
avcodec/api-flac-test: clear callers context with close_*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Ludmila Glinskih
be70c79af2
libavcodec: Add FLAC API test
...
Signed-off-by: Ludmila Glinskih <lglinskih@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago