Steven Liu
22eae2d0c9
avformat/libmodplug: fix memleak when load modplug failed
...
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
5 years ago
Carl Eugen Hoyos
4d8875ec23
lavf: Constify the probe function argument.
...
Reviewed-by: Lauri Kasanen
Reviewed-by: Tomas Härdin
6 years ago
Hendrik Leppkes
c2f861ca42
Replace remaining occurances of av_free_packet with av_packet_unref
9 years ago
Reimar Döffinger
d9e2aceb7f
Add missing "const" all over the place.
...
Only "./configure --enable-gpl" on x86 was tested.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
10 years ago
Matt Oliver
99b48fd448
Fix modplug linkage on Windows.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Michael Niedermayer
c605adbf56
avformat/libmodplug: Reduce the probe score for small input
...
This ensures that theres enough data for mpeg_probe() to recognize mpeg-ps
Fixes Ticket2583
Based on code by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Paul B Mahol
d26f637b02
libmodplug: fix sz type
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Clément Bœsch
215b7724e7
lavf: rename remaining av_set_pts_info() to avpriv_set_pts_info().
13 years ago
Clément Bœsch
0e5ecd806e
Replace remaining av_new_stream() with avformat_new_stream().
13 years ago
Clément Bœsch
539399d4d1
AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.
13 years ago
Nicolas George
c722c88eb6
libmodplug: remove mathematical constants now redundant.
...
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
92e36ee567
libmodplug: do not call av_expr_parse() in case of no expr specified.
13 years ago
Clément Bœsch
964465eb1a
libmodplug: simpler and faster use of eval expr.
13 years ago
Clément Bœsch
86a771143f
libmodplug: add bintext video stream capability.
13 years ago
Clément Bœsch
1b3b4a575b
libmodplug: free file content buffer in read_close() callback.
13 years ago
Clément Bœsch
8830c4e8a9
libmodplug: add TODO entry for probing.
13 years ago
Clément Bœsch
c768e96668
libmodplug: add metadata support.
13 years ago
Clément Bœsch
e6f937237a
libmodplug: add an option to enlarge the max supported file size.
13 years ago
Clément Bœsch
a763b46298
libmodplug: support options (noise reduction, reverb, bass boost, ...)
13 years ago
Clément Bœsch
d7366d918f
libmodplug: handle EOF correctly.
13 years ago
Clément Bœsch
9a2ceee2e3
libmodplug: simplify and fix read_packet() callback.
...
In case of av_new_packet() error, a correct return error code is raised,
the data memcpy is avoided, and pkt dts/pts are not assigned anymore
(since the defaults are good).
13 years ago
Clément Bœsch
5420885737
libmodplug: consistent use of sizeof.
13 years ago
Clément Bœsch
26c7ff9317
Add libmodplug support.
13 years ago