Anton Khirnov
0464ee9af2
swscale: postpone sws_getContext removal until next major bump.
...
The replacement isn't ready yet.
2011-04-06 22:55:28 +02:00
Anton Khirnov
6e37b45888
mmst: get rid of deprecated AVERRORs
2011-04-06 14:10:08 +02:00
Anton Khirnov
a2018b5167
lxfdec: use AVERROR(ENOMEM) instead of deprecated AVERROR_NOMEM.
2011-04-06 14:10:08 +02:00
Anton Khirnov
f5b386afab
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
2011-04-06 14:10:08 +02:00
Anton Khirnov
56a1000917
lavf: if id3v2 tag is present and all else fails, guess by file extension
2011-04-06 14:10:08 +02:00
Anton Khirnov
668438a31e
avio: always compile dyn_buf functions
...
Fixes build with --disable-muxers --disable-network.
Thanks to Hendrik Leppkes for noticing.
2011-04-05 19:32:14 +02:00
Anton Khirnov
b840484798
avio: make URL_PROTOCOL_FLAG_NESTED_SCHEME internal
2011-04-05 08:40:57 +02:00
Anton Khirnov
1305d93c42
avio: deprecate av_url_read_seek
...
It's not used anywhere internally.
Salvage its documentation for ffio_read_seek.
2011-04-05 08:40:27 +02:00
Anton Khirnov
fa104e14ab
avio: deprecate av_url_read_pause
...
It's not used anywhere internally.
Salvage its documentation for ffio_read_pause.
2011-04-05 08:39:40 +02:00
Anton Khirnov
727c7aa026
avio: deprecate url_get_filename().
...
URLContext.filename should be used directly.
2011-04-04 17:45:20 +02:00
Anton Khirnov
5958df341d
avio: deprecate url_max_packet_size().
...
URLContext.max_packet_size should be used directly.
2011-04-04 17:45:20 +02:00
Anton Khirnov
1869ea03b7
avio: make url_get_file_handle() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
32a97d4630
avio: make url_filesize() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
e52a9145c8
avio: make url_close() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
58a48c6511
avio: make url_seek() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
230a468679
avio: cosmetics, move AVSEEK_SIZE/FORCE declarations together
2011-04-04 17:45:20 +02:00
Anton Khirnov
925e908bc7
avio: make url_write() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
dce3756459
avio: make url_read_complete() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
bc371aca46
avio: make url_read() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
0589da0aa5
avio: make url_open() internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
62eaaeacb5
avio: make url_connect internal.
2011-04-04 17:45:20 +02:00
Anton Khirnov
5652bb9471
avio: make url_alloc internal.
2011-04-04 17:45:19 +02:00
Anton Khirnov
333e894363
avio: deprecate url_open_protocol
...
The unbuffered API will be made private and it's not used anywhere
internally.
2011-04-04 07:46:29 +02:00
Anton Khirnov
e230705392
avio: deprecate url_poll and URLPollEntry
...
They're unimplemented and nobody cared to do anything with that for
10 years.
2011-04-04 07:45:44 +02:00
Anton Khirnov
4dcde00cfc
lavf: bump minor version and add an APIChanges entry for avio changes
2011-04-03 23:38:05 +02:00
Anton Khirnov
8bea72f7eb
avio: simplify url_open_dyn_buf_internal by using avio_alloc_context()
2011-04-03 23:33:51 +02:00
Anton Khirnov
724f6a0fa4
avio: make url_fdopen internal.
...
The unbuffered URLContext API will be made private, so there's no point
in this function being public.
2011-04-03 22:47:39 +02:00
Anton Khirnov
403ee835e7
avio: make url_open_dyn_packet_buf internal.
...
It doesn't look fit to be a part of the public API.
Adding a temporary hack to ffserver to be able to use it, should be
cleaned up when somebody is up for it.
2011-04-03 22:47:32 +02:00
Anton Khirnov
6dc7d80de7
avio: avio_ prefix for url_close_dyn_buf
2011-04-03 22:47:05 +02:00
Anton Khirnov
b92c545282
avio: avio_ prefix for url_open_dyn_buf
2011-04-03 22:46:56 +02:00
Anton Khirnov
8978fedaee
avio: introduce an AVIOContext.seekable field
...
Use it instead of url_is_streamed and AVIOContext.is_streamed.
2011-04-03 22:46:40 +02:00
Anton Khirnov
4e3945fd28
lavc: deprecate AVCodecContext.antialias_algo
...
It's been unused since mp3float decoder was added.
2011-04-03 08:43:11 +02:00
Anton Khirnov
4a49d2d59c
lavc: mark mb_qmin/mb_qmax for removal on next major bump.
...
They've been unused and deprecated for about five years.
2011-04-03 08:43:09 +02:00
Anton Khirnov
ed5fcd60b2
lavc: deprecate rate_emu
...
It's not used anywhere and apparrently hasn't been for a very long time.
2011-04-02 16:18:37 +02:00
Anton Khirnov
8ed2ae09a2
lavc: mark hurry_up for removal on next major bump
...
It has been deprecated for about five years, skip_idct/skip_frame should
be used instead.
2011-04-02 16:17:24 +02:00
Anton Khirnov
9073ca6c6e
parser: mark av_parser_parse() for removal on next major bump
...
Fixes build with the bump, since the prototype is already marked for
removal.
2011-04-02 16:17:15 +02:00
Anton Khirnov
6f3d3eacf6
lavc: add missing audioconvert includes
2011-04-02 16:17:01 +02:00
Anton Khirnov
b4b167ecbf
jvdec: don't use deprecated CODEC_TYPE_*/PKT_FLAG_KEY
2011-04-02 16:16:44 +02:00
Anton Khirnov
3c96c64821
avio: document avio_alloc_context.
2011-04-01 20:02:32 +02:00
Anton Khirnov
ab11317c1f
lavf: make compute_chapters_end less picky.
...
In particular, now it assumes that
a) chapters are chronologically ordered
b) chapters have the same timebases
c) duration of the stream is known
and asserts if any of these is not met.
Make it properly deal with harsher conditions.
fixes issue2320
2011-04-01 19:53:55 +02:00
Anton Khirnov
95c851e2c6
APIChanges: mark the place where 0.6 was branched.
2011-03-30 17:28:56 +02:00
Anton Khirnov
b64030f26d
avio: make get_checksum() internal.
2011-03-30 07:48:55 +02:00
Anton Khirnov
d09cc22d9c
avio: move ff_crc04C11DB7_update() from avio.h -> avio_internal.h
2011-03-30 07:48:38 +02:00
Anton Khirnov
4c4427a75d
avio: make init_checksum() internal.
2011-03-30 07:47:08 +02:00
Anton Khirnov
4ec153bb66
avio: make udp_set_remote_url/get_local_port internal.
2011-03-23 17:32:13 +01:00
Anton Khirnov and Ronald S. Bultje
264935c962
matroskaenc: remove a variable that's unused after bc17bd9.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-23 09:01:49 -04:00
Anton Khirnov and Mans Rullgard
491653ed90
avio: cosmetics - nicer vertical alignment.
...
Signed-off-by: Mans Rullgard <mans@mansr.com >
2011-03-23 12:40:10 +00:00
Anton Khirnov and Ronald S. Bultje
3dd851c46b
lavc: move the version macros to a new installed header.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-22 21:48:33 -04:00
Anton Khirnov and Ronald S. Bultje
bc17bd90f5
matroskaenc: simplify get_aac_sample_rates by using ff_mpeg4audio_get_config
...
This also fixes broken SBR detection, which produced files with double
sample rate since 8ae0fa2 .
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-22 21:39:14 -04:00
Anton Khirnov and Justin Ruggles
c5f4c0fd5c
id3v2: skip broken tags with invalid size
...
fixes issue2649.
2011-03-22 09:08:59 -04:00
Anton Khirnov and Justin Ruggles
1885488757
id3v2: don't explicitly skip padding
...
It's pointless, since there's a seek to the end of tag later.
2011-03-22 09:08:59 -04:00
Anton Khirnov and Ronald S. Bultje
eb1e7f78ea
id3v2: simplify error handling.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-21 15:08:01 -04:00
Anton Khirnov and Ronald S. Bultje
bca6dee386
id3v2: explicitly seek to the end of the tag after reading
...
Current code might stop in the middle of an invalid tag.
fixes issue2650
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-21 14:56:59 -04:00
Anton Khirnov and Ronald S. Bultje
933e90a69a
avio: make av_url_read_fseek/fpause internal.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-21 14:54:52 -04:00
Anton Khirnov and Ronald S. Bultje
8d9769a77b
avio: deprecate url_fileno
...
It's an evil hack that assumes an AVIOContext is always based on top of
an URLContext.
It's also not used anywhere.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-20 20:33:05 -04:00
Anton Khirnov and Ronald S. Bultje
447fe33691
rmenc: replace avio_seek(0) with avio_tell()
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-20 20:33:05 -04:00
Anton Khirnov and Ronald S. Bultje
e42500cb4f
lavf: replace some more avio_seek(SEEK_CUR) with avio_skip
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-20 20:33:05 -04:00
Anton Khirnov and Mans Rullgard
2cface71ca
nutenc: fix a memleak
...
This fixes a minor memory leak introduced in 073f8b1 .
Signed-off-by: Mans Rullgard <mans@mansr.com >
2011-03-17 16:25:54 +00:00
Anton Khirnov and Ronald S. Bultje
b7f2fdde74
avio: rename put_flush_packet -> avio_flush
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-16 22:59:39 -04:00
Anton Khirnov and Ronald S. Bultje
35f1023592
avio: deprecate url_close_buf
...
It's not used anywhere and its return value looks broken.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-16 22:59:39 -04:00
Anton Khirnov and Ronald S. Bultje
83fddaeb81
avio: deprecate url_open_buf
...
It's only used in one place and does the same thing as
avio_alloc_context.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-16 22:59:39 -04:00
Anton Khirnov and Ronald S. Bultje
eda4cf92d7
avio: always compile avio_printf, rather than on CONFIG_MUXERS
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-16 22:59:39 -04:00
Anton Khirnov and Ronald S. Bultje
d9d86e00b2
avio: avio_ prefix for url_fprintf
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-16 22:59:39 -04:00
Anton Khirnov and Ronald S. Bultje
af02073225
avio: change avio_tell/skip from macros to inline functions
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-16 22:59:39 -04:00
Anton Khirnov and Ronald S. Bultje
59f65d9579
avio: make url_setbufsize internal.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-16 22:59:38 -04:00
Anton Khirnov and Ronald S. Bultje
4839c192de
lavf: move ff_get_v from avio.h to avio_internal.h
...
And rename it to ffio_read_varlen.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-16 22:59:38 -04:00
Anton Khirnov and Luca Barbato
073f8b10d8
nutenc: mux chapters.
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org >
2011-03-17 03:34:16 +01:00
Anton Khirnov and Ronald S. Bultje
45a8a02a41
lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-16 22:24:51 -04:00
Anton Khirnov and Justin Ruggles
fed5676ffe
mp3enc: remove mp3_write_packet(), use ff_raw_write_packet() instead
...
The two functions are identical, no point in duplicating code here.
2011-03-16 10:20:24 -04:00
Anton Khirnov and Reinhard Tartler
1dac4d5547
jvdec: don't use deprecated url_feof()
2011-03-16 12:24:23 +01:00
Anton Khirnov and Justin Ruggles
56e2ac6b45
id3v2: merge TYER/TDAT/TIME to date tag
2011-03-15 13:57:52 -04:00
Anton Khirnov and Ronald S. Bultje
3e68b3ba7b
avio: deprecate url_ferror
...
AVIOContext.error should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-15 08:04:28 -04:00
Anton Khirnov and Ronald S. Bultje
75b9ed04b9
lavf/utils: dont't explicitly check AVIOContext.error
...
The error should be caught in write_packet()/write_trailer()
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-15 08:04:10 -04:00
Anton Khirnov and Mans Rullgard
fb61a7c534
id3v2: fix typo in error message
...
Signed-off-by: Mans Rullgard <mans@mansr.com >
2011-03-09 10:57:44 +00:00
Anton Khirnov and Ronald S. Bultje
66e5b1df36
avio: deprecate url_feof
...
AVIOContext.eof_reached should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-07 17:20:31 -05:00
Anton Khirnov and Ronald S. Bultje
f1ef2cd9ed
avio: move ff_rewind_with_probe_data from avio.h to avio_internal.h
...
also change its prefix to ffio
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-07 12:25:36 -05:00
Anton Khirnov and Ronald S. Bultje
e8bb2e2439
avio: deprecate url_fget_max_packet_size
...
AVIOContext.max_packet_size should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-07 12:25:36 -05:00
Anton Khirnov and Ronald S. Bultje
76aa876e69
avio: avio_ prefix for url_fsize
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-07 11:03:39 -05:00
Anton Khirnov and Ronald S. Bultje
e51975392d
avio: deprecate url_fgetc and remove all it uses
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-07 10:51:21 -05:00
Anton Khirnov and Ronald S. Bultje
655e45e7df
avio: deprecate url_fgets
...
It's not used anywhere and doesn't look ver useful to be public.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-07 10:19:46 -05:00
Anton Khirnov and Ronald S. Bultje
a2704c9712
avio: add avio_tell macro as a replacement for url_ftell
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-04 11:26:57 -05:00
Anton Khirnov and Ronald S. Bultje
e16ead0716
lavf: deprecate get_strz() in favor of avio_get_str
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-04 11:26:02 -05:00
Anton Khirnov and Ronald S. Bultje
0300db8ad7
avio: deprecate url_fskip
...
avio_seek should be used instead
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-01 12:27:08 -05:00
Anton Khirnov and Ronald S. Bultje
e356fc57a2
lavf: replace all uses of url_fskip with avio_seek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-01 12:22:16 -05:00
Anton Khirnov and Ronald S. Bultje
6b4aa5dac8
avio: avio_ prefix for url_fseek
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-03-01 12:12:33 -05:00
Anton Khirnov and Ronald S. Bultje
61840b4360
avio: deprecate put_tag
...
it's not used internally anymore and shouldn't be public.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 14:38:57 -05:00
Anton Khirnov and Ronald S. Bultje
bbc413f943
lavf: replace remaining uses of put_tag with avio_write
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 14:38:56 -05:00
Anton Khirnov and Ronald S. Bultje
99f42c27ab
avienc: replace &tag[0] with tag.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 14:38:55 -05:00
Anton Khirnov and Ronald S. Bultje
0abdb29317
lavf: use a new ffio_wfourcc macro instead of put_tag() where possible
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-25 14:38:22 -05:00
Anton Khirnov and Ronald S. Bultje
22a3212e32
avio: rename url_fopen/fclose -> avio_open/close.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-23 10:18:55 -05:00
Anton Khirnov and Ronald S. Bultje
0ac8e2bf2b
avio: make put_nbyte internal.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-21 14:25:17 -05:00
Anton Khirnov and Ronald S. Bultje
77eb5504d3
avio: avio: avio_ prefixes for put_* functions
...
In the name of consistency:
put_byte -> avio_w8
put_<type> -> avio_w<type>
put_buffer -> avio_write
put_nbyte will be made private
put_tag will be merged with avio_put_str
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-21 14:25:15 -05:00
Anton Khirnov and Ronald S. Bultje
b3db9ceef1
avio: make get_partial_buffer internal.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-21 13:40:28 -05:00
Anton Khirnov and Ronald S. Bultje
b7effd4e83
avio: avio_ prefixes for get_* functions
...
In the name of consistency:
get_byte -> avio_r8
get_<type> -> avio_r<type>
get_buffer -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return
something useful.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-21 11:23:22 -05:00
Anton Khirnov and Ronald S. Bultje
8d9ac969cb
avio: rename av_alloc_put_byte -> avio_alloc_context for consistency
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-21 10:23:44 -05:00
Anton Khirnov and Ronald S. Bultje
e731b8d872
avio: move init_put_byte() to a new private header and rename it
...
init_put_byte should never be used outside of lavf, since
sizeof(AVIOContext) isn't part of public ABI.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-20 08:37:31 -05:00
Anton Khirnov and Ronald S. Bultje
ae628ec1fd
avio: rename ByteIOContext to AVIOContext.
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com >
2011-02-20 08:37:15 -05:00
Anton Khirnov and Janne Grunau
09d171b988
lavf, lavu: bump minor versions and add an APIChanges entry for av_ prefixes
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net >
2011-02-17 15:40:17 +01:00
Anton Khirnov and Janne Grunau
ab0287fcbd
Move find_info_tag to lavu and add av_ prefix to it
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net >
2011-02-17 15:35:18 +01:00
Anton Khirnov and Mans Rullgard
9fcae9735e
Replace remaining uses of parse_date with av_parse_time.
...
Signed-off-by: Mans Rullgard <mans@mansr.com >
2011-02-16 23:39:57 +00:00