Justin Ruggles
779ef255e6
adx: add an adx muxer
13 years ago
Anton Khirnov
dfc2c4d900
lavf: use designated initialisers for all (de)muxers.
...
It's more readable and less prone to breakage.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
b7f2fdde74
avio: rename put_flush_packet -> avio_flush
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Anton Khirnov
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>
14 years ago
Diego Elio Pettenò
c6610a216e
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
14 years ago
Martin Storsjö
9013560f13
Add a muxer and demuxer for raw G.722
...
Originally committed as revision 25087 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
4ca31edcfe
split raw.c into rawdec.c and rawenc.c
...
Originally committed as revision 24997 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
92aa28d292
move raw video demuxer to its own file
...
Originally committed as revision 24996 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
f1714d5846
move pcm muxers to their own file
...
Originally committed as revision 24995 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
e94204dfd8
move pcm demuxers to their own file
...
Originally committed as revision 24993 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
4bc16e83a7
simplify code by using the AV_NE() macro
...
Originally committed as revision 24986 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
8f3890404c
move null muxer to its own file
...
Originally committed as revision 24985 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
1ac301cad8
cleanup includes which are not used anymore in raw.c
...
Originally committed as revision 24984 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
9e0d82418b
move ac3/eac3 demuxer to its own file
...
Originally committed as revision 24983 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
66e35c5fc6
move dnxhd demuxer to its own file
...
Originally committed as revision 24982 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
170a250f7d
move dirac demuxer to its own file
...
Originally committed as revision 24981 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
99392a6111
move h261 demuxer to its own file
...
Originally committed as revision 24980 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
b30593c7db
move h263 demuxer to its own file
...
Originally committed as revision 24979 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
9243ed3f91
move h264 demuxer to its own file
...
Originally committed as revision 24978 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
e35070582e
move m4v demuxer to its own file
...
Originally committed as revision 24976 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
c3ed4b2d38
move cavsvideo demuxer to its own file
...
Originally committed as revision 24975 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
8c51530fa1
move mpegvideo demuxer to its own file
...
Originally committed as revision 24974 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
b47a5a954a
move ingenient demuxer to its own file
...
Originally committed as revision 24973 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
6d0678d182
move DTS demuxer to its own file
...
Originally committed as revision 24972 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
85a2aada90
simplify code by using the AV_NE() macro
...
Originally committed as revision 24971 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
54a73bb57f
move id roq muxer to its own file
...
Originally committed as revision 24968 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
49824cb66a
move ADTS AAC demuxer to its own file
...
Originally committed as revision 24967 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8a0f61c4fb
Remove duplicate initialiser for cavsvideo_muxer.extensions
...
The extensions field was initialised first to "cavs", then to "avs".
The name "cavs" is kept since this is used for the format elsewhere
and "avs" is already used for avisynth files.
Originally committed as revision 24538 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefan Gehrer
de29597680
add Chinese AVS encoding via external library libxavs
...
Originally committed as revision 24533 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Aurelien Jacobs
ba2c508d0c
add SubRip muxer and demuxer
...
Originally committed as revision 24488 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
57eb217ac4
Improve h263_probe()
...
Fixes issue2015
Originally committed as revision 23645 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Karcher
3a1350e8d9
Generalize ID3v2 functions to support ID3v2-like ID headers with a
...
different magic in the header (mainly targeted to Sony's .oma/.aa3
format).
Patch by Michael Karcher, ffmpeg A mkarcher dialup fu-berlin de
Originally committed as revision 23583 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
1c1697117d
Fix raw vc1 decoding - this is supposed to break FATE.
...
Patch by Michael.
Originally committed as revision 23582 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
4130f7393b
Reindent
...
Originally committed as revision 21824 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
3adcfbbeb5
Optimize h261_probe function, since it is far slower than all others.
...
About 5 times faster.
Originally committed as revision 21823 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
0cd55b0c18
Add CODEC_ID_DNXHD into the 25 fps case.
...
Merged from ffmbc.
Originally committed as revision 20841 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
b68a7679f9
Raise threshold of h263 probe by 1 to avoid misdetection.
...
Fixes issue 1588.
Originally committed as revision 20765 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
f76eef99a2
Add out commented av_log to debug h263_probe.
...
Originally committed as revision 20764 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
0f87b77176
Use enum instead of integer types where appropriate.
...
Originally committed as revision 20482 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Verkamp
79c0790789
Fix pcm_read_seek () when the position it calculates is greater than 2 GB.
...
pcm_read_seek() puts the return value of url_fseek() in an int and then
compares < 0 to see if an error occurred; if the position is greater
than 2 GB, the 32-bit signed int result will be < 0.
Change the type of ret to int64_t to avoid the wraparound.
patch by Daniel Verkamp, daniel drv nu
Originally committed as revision 20169 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c3db0bc61d
Return any error return values from av_get_packet, get_buffer etc. unchanged
...
in the raw demuxers.
Also remove special handling of 0-size reads, if they are due to an error/eof,
these are already converted to the appropriate error by get_buffer.
Originally committed as revision 20137 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
22a7e19b50
Make rawvideo_read_packet return partial frames.
...
This is consistent with other demuxers and also fixes a memleak (memory
allocated for partial frame data was leaked).
Originally committed as revision 20130 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
8cb724c5c4
Simplify: remove pointless {} and else
...
Originally committed as revision 20129 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
d4c1803e0e
Remove pointless setting of pkt->size, av_get_packet already handles this.
...
Originally committed as revision 20128 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
c67031e7cf
av_new_packet failing should return ENOMEM, not EIO.
...
Originally committed as revision 20126 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
4b4ac5c7a8
Sync AC3 probe values with MP3 probe values, they have to avoid similar issues.
...
This fixes ffmpeg-generated files with -acodec ac3 being detected as raw ac3
instead of MPEG.
Originally committed as revision 20075 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
2a3caca2b1
Make h261 and mpegvideo probe a little more robust so they dont fail with
...
slightly different probetest.
Originally committed as revision 19856 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
98487a5b69
Make dnxhd probe more strict, fail if we detect values in header that would
...
make our decoder fail anyway.
dnxhd probe now passes probetest.
Originally committed as revision 19847 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago