Mans Rullgard
6501dcfb5e
Remove unnecessary inclusions of [sys/]time.h
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
6e9651d106
lavf: remove AVFormatParameters from AVFormatContext.read_header signature
13 years ago
Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
13 years ago
Anton Khirnov
3b3bbdd3e6
lavf,lavd: replace av_new_stream->avformat_new_stream part I.
...
Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
13 years ago
Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
13 years ago
Diego Biurrun
30b4ee7901
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
13 years ago
Anton Khirnov
c14fe6bc99
lavf,lavd: remove all usage of AVFormatParameters from demuxers.
...
AVFormatParameters are converted into corresponding private options in
av_open_input_file/stream() compat wrappers, so accessing them from
demuxers is redundant.
13 years ago
Diego Biurrun
f9853c1b9c
libavdevice: Remove disabled code.
14 years ago
Reimar Döffinger
c673c90515
oss,sndio: simplify by using FFMIN.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
6b899e16de
lavdev: prefer the inclusion of avdevice.h over that of libavformat/avformat.h
14 years ago
Anton Khirnov
bffd4dd1d3
lavf: deprecate AVFormatParameters.{channels,sample_rate}.
14 years ago
Anton Khirnov
003e63b6df
oss: add channels and sample_rate private options.
14 years ago
Reimar Döffinger
e76c0c6a00
Simplify: Use FFMIN.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
66355be3c3
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.
(cherry picked from commit c6610a216e
)
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
Stefano Sabatini
4f2d2e4ed9
Define macro AV_NE() and use it in libavdevice.
...
Help further refactoring.
Originally committed as revision 24814 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 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
Stefano Sabatini
bd01c39330
Make audio_read_packet() return AVERROR_EOF rather than AVERROR(EOF) =
...
AVERROR(-1) = 1.
Originally committed as revision 22664 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
802da0b490
Indent.
...
Originally committed as revision 21933 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
d3298350bb
Do not invent error codes but pass the error code on.
...
Originally committed as revision 20630 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
fed0c2fb71
Replace very odd and completely broken oss read_packet() by the obvious way to
...
read.
Fixes issue348.
Originally committed as revision 20629 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
600b9c5c8c
Do not do free AVStream in case of error, this is not supposed to be
...
done by the demuxer.
Fix issue 1378.
Originally committed as revision 19825 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
63613fe615
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
38e54a75ab
Make the configure script select the input/output devices using
...
--enable-indev, --enable-outdev rather than --enable-demuxer,
--enable-muxer as before, same for disabling them.
Originally committed as revision 19293 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
33054e35e3
Rename audio.c to oss_audio.c in libavdevice.
...
Originally committed as revision 16707 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
0c26e964e9
Use avf context in av_log, instead of NULL.
...
Originally committed as revision 16695 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
d99b81664b
Pass avf context to audio_open().
...
Originally committed as revision 16694 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alexis Ballier
d84b1cb3da
Add missing sys/select.h #include, fixes compilation on FreeBSD 7.0.
...
patch by Alexis Ballier, alexis.ballier gmail com
Originally committed as revision 15649 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
fb65d2ca84
Use enum typers instead of int.
...
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail
Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benoit Fouet
c57c489753
Change OSS long names.
...
Originally committed as revision 14663 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
0f680571fa
Remove useless 'channels' assignment.
...
Originally committed as revision 14656 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Erik Hovland
72e043dd0f
One-bit bitfields should probably be unsigned. Unfortunately, it is left
...
up to the compiler on how one bit fields are treated. gcc treats one-bit
bitfields as signed and allows for the -funsigned-field parameter. Other
compilers (like Sun C) treat one-bit bitfields as unsigned no matter what.
Patch by Erik Hovland erik hovland org
Originally committed as revision 14131 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bde15e74de
Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste.it
along with some spelling/consistency fixes for the long names by me
Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 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
4f78608632
#include required headers directly.
...
Originally committed as revision 13078 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
362b3bf757
Remove unneeded sys/mman.h #include.
...
Originally committed as revision 12567 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b00675499c
Only #include sys/mman.h if configure set HAVE_SYS_MMAN_H.
...
Originally committed as revision 12521 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
52b541ad79
spelling
...
Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
c721d803cb
Introduce libavdevice
...
Originally committed as revision 11077 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
9f74582cea
Do not use perror() in audio, video, and DV grabbers
...
Originally committed as revision 11058 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
1156c6b05f
Rename the format name audio_device (used in both oss and audio_beos) to oss and audio_beos.
...
-f oss and -f audio_beos should be used instead.
Originally committed as revision 10429 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
50383e8822
Separate audio_(de)muxer into oss_(de)muxer and audio_beos_(de)muxer
...
Originally committed as revision 10426 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Panagiotis Issaris
6f3e0b2174
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
...
Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
7bb7ad0eb5
fix oss audio playback, broken since r7983, pass AVFormatContext filename to audio_open since audio_device when NULL is no more set to default value
...
Originally committed as revision 8851 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
cc58300e30
implement new grabbing interface, as described here:
...
ttp://thread.gmane.org/gmane.comp.video.ffmpeg.devel/42920
patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
Date: Jan 31, 2007 8:56 PM
Subject: [Ffmpeg-devel] [PATCH] New grabbing interface
Originally committed as revision 7983 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
8fa36ae09d
This fixes error handling for BeOS, removing the need for some ifdefs.
...
AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h.
Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed.
Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code.
This also removes the need for berrno.h.
Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
74476a3a98
#include detected soundcard.h instead of testing for OpenBSD
...
Originally committed as revision 7912 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago