1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00
Commit Graph

16847 Commits

Author SHA1 Message Date
Stefano Sabatini
54c441c860 Remove set_all_opt() and its use in av_set_string2(). Make
av_set_string() and av_set_string2() do not accept as parameter the
name of a named constant.

This avoids av_set_string2() and av_set_string() to misbehave when
there is an option and a named constant with the same name.

See the thread: "[PATCH] Remove libavcodec/opt.c:set_all_opt()".

Originally committed as revision 16134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 21:34:12 +00:00
Michael Niedermayer
a3bb564ee5 10l (forgot sample_size)
Should fix fate.

Originally committed as revision 16133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:38:05 +00:00
Stefano Sabatini
d1ca187fb6 Document register_avcodec().
Originally committed as revision 16132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:41 +00:00
Stefano Sabatini
7a961a46ba Make register_avcodec() call avcodec_init().
This avoids the possibility to use a registered codec without first
initializing libavcodec, which resulted in unexpected behavior.

Originally committed as revision 16131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 20:04:00 +00:00
Stefano Sabatini
335a761a90 Use a more explicit "codec" rather than "format" as the parameter of
register_avcodec().

Originally committed as revision 16130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 19:36:38 +00:00
Måns Rullgård
eedfe2227a oggflac: fix bitstream reader usage
Originally committed as revision 16129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 17:30:18 +00:00
Aurelien Jacobs
1238fa9fb8 indeo3: replace sizeof(struct ...) by sizeof(*var)
Originally committed as revision 16128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 16:41:51 +00:00
Michael Niedermayer
25983dcd53 Fix non interleaved variable fps ODML avis.
Fixed issue738

Originally committed as revision 16127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 15:48:48 +00:00
Diego Biurrun
39caffeb9a cosmetics: typo/grammar/wording/whitespace fixes
Originally committed as revision 16126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 15:48:01 +00:00
Reinhard Tartler
4698330921 Fix the use of Requires.private and Libs.private in generated .pc files.
Patch by Reinhard Tartler \ siretart ! tauware + de /.

Originally committed as revision 16125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 15:42:14 +00:00
Stefano Sabatini
76bdac6dbf Cosmetics: remove empty comments.
Originally committed as revision 16124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 15:02:27 +00:00
Michael Niedermayer
3a3ee96cd1 Fix files with fps between 0.5 and 0.1.
Fixes issue749

Originally committed as revision 16123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 14:45:57 +00:00
Michael Niedermayer
492322fccc Remove silly FIXME comment.
Originally committed as revision 16122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 14:01:12 +00:00
Anders Grönberg
31c3a4dc7e Prevent shift overflow, patch by Anders Grönberg, galileo.m2 gmail com.
Originally committed as revision 16121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 12:30:34 +00:00
Anders Grönberg
cac55c9196 Add a few const qualifiers in appropriate places.
patch by Anders Grönberg, galileo.m2 gmail com

Originally committed as revision 16120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 12:24:50 +00:00
Mike Melanson
70bbd0cee3 undoing revision 16118 for truemotion1.c; commit was premature
Originally committed as revision 16119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 03:41:11 +00:00
Mike Melanson
02fb2546e8 The POSIX namespace shall be held sacrosanct. To that end,
continue eliminating _t from structure names in FFmpeg.

Originally committed as revision 16118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 03:29:33 +00:00
Aurelien Jacobs
5e6604490a avoid POSIX reserved _t suffix
Originally committed as revision 16117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 00:48:16 +00:00
Aurelien Jacobs
d08ea32c23 Get rid of mmx_t.
Originally committed as revision 16116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-14 00:46:27 +00:00
Luca Abeni
be73a544af Rename rtp_payload_data_t to avoid clashes with the POSIX namespace
Originally committed as revision 16115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 23:25:19 +00:00
Luca Abeni
1afe09d515 Remove useless typedef
Originally committed as revision 16114 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 23:20:05 +00:00
Luca Abeni
d5574b2839 Remove unused types
Originally committed as revision 16113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 23:03:34 +00:00
Reimar Döffinger
d77ac324fe Avoid _t in gxf enum type names
Originally committed as revision 16112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 21:58:17 +00:00
Ronald S. Bultje
1edddc99dc Split RMContext into RMDemux/MuxContext and make them private in rmdec/enc.c.
Reason for this is that there are no shared entries in the demuxer/muxer
context, making it a mystery as to why it was shared between the two. See
"[PATCH] clean rmdemux/muxcontext" patch on mailinglist.

Originally committed as revision 16111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 21:40:20 +00:00
Ronald S. Bultje
a15ebf34c7 Don't access RMContext directly in rdt.c. Rather, use the return value of
ff_rm_parse_packet() to indicate whether more audio packets are available
in the demuxer from the last RM frame, and save that in the RDT parsing
context. See patch/discussion in "[PATCH] rdt.c: don't access RMContext"
on ML.

Originally committed as revision 16110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 21:37:27 +00:00
Diego Biurrun
616deed28f Do not invade _t POSIX namespace.
Originally committed as revision 16109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 18:16:06 +00:00
Ronald S. Bultje
f27544fd5b Separate the packet fetching from the data reading, so that the data reading
function is assured to parse at most one packet. This makes this function
useful for ASF data packet parsing in a "push-mode" in addition to the
current "pull-mode", and therefore allows for use of these functions in,
for example, the RTSP demuxer (for MS-RTSP support). Tested to give identical
output before and after for regular ASF playback, also see discussion in the
ML thread "[PATCH] asf.c: move packet_time_start=0 statement". Testsuite also
works after the patch, tested by Benoit Fouet.

Originally committed as revision 16108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 17:18:11 +00:00
Diego Biurrun
8a9572c26f 100l: Add missing backslashes.
Originally committed as revision 16107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 17:04:22 +00:00
Diego Biurrun
6d99b2285d cosmetics: Break some lines for a more aesthetically pleasing result.
Originally committed as revision 16106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 16:35:58 +00:00
Diego Biurrun
3445c7992b Remove misleading comment, _t is POSIX-reserved namespace.
Originally committed as revision 16105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 16:08:31 +00:00
Måns Rullgård
20e0ed95af configure: fix $nm
Originally committed as revision 16104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 15:45:03 +00:00
Måns Rullgård
93c021a242 Remove other shared lib names from linker command line for shared libs
Originally committed as revision 16103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 15:31:30 +00:00
Reimar Döffinger
89641463a1 Allow setting a different nm binary from the configure line.
Originally committed as revision 16102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 15:13:24 +00:00
Diego Biurrun
de3a124064 Make mips64 a separate arch with fast_64bit.
Originally committed as revision 16101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 14:29:53 +00:00
Diego Biurrun
7f37f5687d whitespace cosmetics
Originally committed as revision 16100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 13:39:13 +00:00
Diego Biurrun
bda4e3940a Replace 'typedef struct ustr_t' by 'struct ustr', _t is POSIX namespace.
Originally committed as revision 16099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 13:34:59 +00:00
Jai Menon
f98dcdedda Avoid _t in identifier names, _t is reserved by POSIX.
patch by Jai Menon, jmenon86 gmail com

Originally committed as revision 16098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 13:11:42 +00:00
Diego Biurrun
db95d3bf50 Add img_convert() to imgconvert.h and #include it from imgresample.c.
This fixes an implicit declaration of img_convert() warning.
taken from a patchset from Anders Grönberg, galileo.m2 gmail com

Originally committed as revision 16097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 12:56:29 +00:00
Anders Grönberg
b77aba0a8c Matroska uses tables from isom.c, so add the object file to its dependencies.
extracted from a patch by Anders Grönberg, galileo.m2 gmail com

Originally committed as revision 16096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 12:46:11 +00:00
Diego Biurrun
6ede266e36 Add mips64 to the architecture list.
Taken from the OpenBSD ports tree.

Originally committed as revision 16095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 11:35:59 +00:00
Diego Biurrun
61597a981f Add alternative names for sh4 and parisc architectures.
Taken from the OpenBSD ports tree.

Originally committed as revision 16094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 11:35:08 +00:00
Luca Barbato
537db58b6c Let imgresample altivec code build
Originally committed as revision 16093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:53:30 +00:00
Luca Barbato
7a8f36cccc Cleanup types
Originally committed as revision 16092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:52:34 +00:00
Luca Barbato
006c8e9e9c Unbreak imgresample altivec
Originally committed as revision 16091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:49:38 +00:00
Luca Barbato
644e7acba4 Rename type to be consistent
Originally committed as revision 16090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 10:45:44 +00:00
Reimar Döffinger
eb857782e7 Define _BSD_SOURCE in bktr.c, dev/ic/bt8xx.h needs the u_short etc. typedefs,
which sys/types.h will not generate without this.

Originally committed as revision 16089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 09:16:12 +00:00
Reimar Döffinger
de40eb8df2 Fix regression.sh to work on OpenBSD which has md5 instead of md5sum
but it is in the path (/bin), not /sbin.

Originally committed as revision 16088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 09:10:55 +00:00
Reimar Döffinger
d88f7df899 Remove OpenBSD SLIBNAME magic, it seems unnecessary and breaks compilation.
Originally committed as revision 16087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 08:53:31 +00:00
Måns Rullgård
8c39a7582d mpegts: replace Program_t typedef with "struct Program"
Originally committed as revision 16086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 00:04:34 +00:00
Stefano Sabatini
8f993c6725 s/#AVClass/AVClass/, consistent with the rest of the doxy.
Originally committed as revision 16085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 23:02:21 +00:00