Commit Graph

334 Commits

Author SHA1 Message Date
Panagiotis Issaris
750f0e1f8b Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf().

Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 14:17:26 +00:00
Baptiste Coudurier
ea486ab3be remove codec_info_duration/nb_frames from AVStream
Originally committed as revision 8337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-12 10:59:47 +00:00
Panagiotis Issaris
3217cb424c Move the libavformat public API comments to avformat.h. The comments are
unmodified.

Originally committed as revision 8202 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-03 12:23:20 +00:00
Kristian Amlie
0cbff0275b replace the auto array "duration_error" with a malloced array.
prevents stack overflow on some plateforms
patch by Kristian Amlie %kristian A gridmedia P com %
Original thread:
Date: Mar 1, 2007 11:29 PM
Subject: [Ffmpeg-devel] Stack overflow patch

Originally committed as revision 8194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-02 13:23:06 +00:00
Baptiste Coudurier
497244a897 check for any seeking failure during probe
Originally committed as revision 8173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-01 16:40:48 +00:00
Baptiste Coudurier
3fdb6af943 use avcodec_decode_audio2
Originally committed as revision 8146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-27 13:07:38 +00:00
Michael Niedermayer
a185f52a86 try to fill in missing bits_per_sample
Originally committed as revision 8043 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-20 16:18:59 +00:00
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
2007-02-13 18:26:14 +00:00
Michael Niedermayer
e9b78eeba2 better generic index building and seeking code
Originally committed as revision 7841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 23:04:48 +00:00
Wolfram Gloger
9ecf7fada3 Fix audio corruption when cutting.
Patch by Wolfram Gloger, wmglo dent dot med dot uni-muenchen dot de.

Originally committed as revision 7818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 02:08:57 +00:00
Michael Niedermayer
5a461d8e11 packets must be correctly interleaved
Originally committed as revision 7805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 11:19:58 +00:00
Michael Niedermayer
a44b3c4da8 make av_find_stream_info() duration user selectable
Originally committed as revision 7669 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 17:34:26 +00:00
Michel Bardiaux
373c32c711 Fix wrong comment, patch by Michel Bardiaux mbardiaux mediaxim be.
Originally committed as revision 7659 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 09:24:41 +00:00
Michael Niedermayer
5ecfa9f5fc set codec_tag from codec_id if its not set and can be set based on the AVCodecTag tables
Originally committed as revision 7600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:31:58 +00:00
Reimar Döffinger
40d9c544ac Attempt to better document AVFMT_NOFILE.
Originally committed as revision 7590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 22:54:50 +00:00
Reimar Döffinger
b8e705ec45 Demuxers with AVFMT_NOFILE will open a (possibly different) file themselves,
so do not probe them if is_opened is set.

Originally committed as revision 7589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 22:52:59 +00:00
Baptiste Coudurier
dfc58c5d64 removed unused av_frac_set
Originally committed as revision 7430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-08 14:44:13 +00:00
Baptiste Coudurier
702dfe0194 remove #if obsoleted after last major version bump
Originally committed as revision 7429 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-08 14:42:01 +00:00
Baptiste Coudurier
8fae2df5e8 10l, only allocate priv_data if not already done
Originally committed as revision 7428 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-08 14:22:00 +00:00
Baptiste Coudurier
c6efa4b5b0 humm, actually do what's in the doxy
Originally committed as revision 7427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-08 12:57:08 +00:00
Michael Niedermayer
69c262d156 indention
Originally committed as revision 7403 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-02 20:35:46 +00:00
Michael Niedermayer
1694118b9b nth try of getting the frame rate detecton working
Originally committed as revision 7402 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-02 20:32:01 +00:00
Michael Niedermayer
ecec87afc6 revert regression test breaking change
Originally committed as revision 7394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-01 21:17:14 +00:00
Michael Niedermayer
4b96d28abc ignore duration of the first 2 frames in the max-time break check
fixes framerate detection for framerate_misdetected.wmv

Originally committed as revision 7384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-29 21:41:06 +00:00
Michael Niedermayer
6268538afa do not base frame rate guess on just one duration
Originally committed as revision 7383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-29 21:16:21 +00:00
Michael Niedermayer
e07d8929eb indent
Originally committed as revision 7290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 14:08:19 +00:00
Michael Niedermayer
fd97f6a2ea the next r_frame_rate try ...
discard first duration
	accumulate remaining durations
	add 15000/1001 and 12000/1001

Originally committed as revision 7289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 14:07:46 +00:00
Michael Niedermayer
06d1e5c2b6 gcc 2.95 fix
Originally committed as revision 7285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-12 12:24:30 +00:00
Michael Niedermayer
4d43cbcc74 rewrite r_frame_rate selectioon code again
Originally committed as revision 7283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-11 16:59:10 +00:00
Måns Rullgård
f27a726809 use standard INT64_MAX instead of MAXINT64 (and MIN)
Originally committed as revision 7241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07 00:47:37 +00:00
Måns Rullgård
8da9266cea use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 23:46:11 +00:00
Baptiste Coudurier
68a432cf14 cosmetics, remove braces, remove spaces just inside parens
Originally committed as revision 7236 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 17:17:33 +00:00
Andy Parkins
8533284dae do not truncate pts/dts if value is AV_NOPTS_VALUE, patch by Andy Parkins, andrew parkins at 360visiontechnology com
Originally committed as revision 7234 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-06 15:46:12 +00:00
Michael Niedermayer
89ddd2a9a5 split av_seek_frame_binary() so the code becomes idependant of AVInputFormat and AVIndex
Originally committed as revision 7035 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14 01:34:36 +00:00
Michael Niedermayer
faf7cbf110 nut simple seeking first try
Originally committed as revision 6968 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-11 19:37:21 +00:00
Baptiste Coudurier
f932cdf209 kill AVImageFormat
Originally committed as revision 6875 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-02 23:22:23 +00:00
Steve L'Homme
949b1a13bf Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com

Originally committed as revision 6868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 22:39:58 +00:00
Diego Biurrun
1345f4ed6c Rename SWAP macro to FFSWAP.
Originally committed as revision 6865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:28:36 +00:00
Steve L'Homme
e344c1ea36 reindentation, patch by From: Steve Lhomme, slhomme divxcorp com
Originally committed as revision 6864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-01 21:09:14 +00:00
Baptiste Coudurier
55bdd34d1a remove gcc warning about void * used in arithmetic
Originally committed as revision 6845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-30 23:59:52 +00:00
Baptiste Coudurier
18de0b81d5 fflags can/will be used for muxing too
Originally committed as revision 6802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-27 10:53:08 +00:00
Dominik Mierzejewski
ccd3228e54 Use proper PRI?64 macros for %ll? format to fix printf format warnings:
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘int64_t’
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘int64_t’
utils.c:854: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘int64_t’
utils.c:854: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘int64_t’
asf.c:872: warning: format ‘%Lx’ expects type ‘long long unsigned int’, but argument 4 has type ‘int64_t’
mov.c:1754: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 5 has type ‘int64_t’

Approved by Michael.

Originally committed as revision 6692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-14 20:43:39 +00:00
Michael Niedermayer
03bb9ae58c 10l CODEC vs. FORMAT
Originally committed as revision 6687 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-13 19:19:07 +00:00
Diego Biurrun
c26abfa541 Rename ABS macro to FFABS.
Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-11 23:17:58 +00:00
Diego Biurrun
b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Michael Niedermayer
5523d5f41e fix r_frame_rate detection in mpeg4 streams with non integer fps
Originally committed as revision 6544 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-03 19:13:27 +00:00
Michael Niedermayer
730ba4067c fix r_frame_rate init code for groundhog.vob
Originally committed as revision 6345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 18:34:07 +00:00
Michael Niedermayer
6c17a956b4 drop broken telecine detection code
Originally committed as revision 6343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 18:03:17 +00:00
Michael Niedermayer
35eab0c043 reindent
Originally committed as revision 6342 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 17:27:08 +00:00
Michael Niedermayer
5fb83c3844 dont ignore MAX_READ_SIZE
Originally committed as revision 6341 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-26 17:25:28 +00:00
Roman Shaposhnik
f5a478f65d * Moving FifoBuffer out of libavformat/avformat.h and
libavformat/utils.c into libavutil

Originally committed as revision 6310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-21 07:31:53 +00:00
Panagiotis Issaris
4ff8fcefd2 Migrate the "packetsize" OptionDef option to become an AVOption.
Originally committed as revision 6293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:24:17 +00:00
Panagiotis Issaris
09a455764b Migrate the "muxrate" OptionDef option to become an AVOption.
Originally committed as revision 6292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-20 08:23:01 +00:00
Panagiotis Issaris
66acccf05f Make OFFSET() reuse offsetof
Originally committed as revision 6251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 13:51:54 +00:00
Panagiotis Issaris
5894991f94 Remove a redundant memset from libavformat.
Originally committed as revision 6250 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-14 12:04:07 +00:00
Panagiotis Issaris
8c3dd5dc9c Use and set sane AVOption defaults
Patch by Takis
Original thread:
Date: Sep 8, 2006 3:26 PM
Subject: [Ffmpeg-devel] [PATCH 2/2] Use and set sane AVOption defaults

Originally committed as revision 6227 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 21:51:08 +00:00
Panagiotis Issaris
73a8ceaa17 make AVOptions default value field work.
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 8, 2006 3:22 PM
Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value

Originally committed as revision 6224 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-10 20:21:40 +00:00
Panagiotis Issaris
5e89b50b29 undefines a few temporary defines which were not undefined after their usage.
Patch by Panagiotis Issaris

Originally committed as revision 6205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-09 08:49:28 +00:00
Panagiotis Issaris
ec1b10f4b9 enable setting the year and track number using AVOption
Patch by Takis
Original thread:
Date: Sep 6, 2006 5:43 PM
Subject: [Ffmpeg-devel] [PATCH] Enhance genre, year and track tag
support

Originally committed as revision 6196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-08 12:28:28 +00:00
Panagiotis Issaris
57c244f6c7 makes avformat_get_context_defaults() static
when the next compatibility breaking change occurs, as suggested by
Michael Niedermayer here:
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/36377
Patch by Takis
Original thread:
Date: Sep 8, 2006 11:19 AM
Subject: [Ffmpeg-devel] [PATCH] Make avformat_get_context_defaults static

Originally committed as revision 6195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-08 12:12:38 +00:00
Michael Niedermayer
2c00106c2b ignore index parameter to ignore the ODML index in avi
Originally committed as revision 6177 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-05 19:23:32 +00:00
Michel Bardiaux
5c07cf535f Clarified API for numbered sequences, patch by Michel Bardiaux % mbardiaux A mediaxim P be %
Original thread:
Date: Aug 30, 2006 4:54 PM
Subject: [Ffmpeg-devel] [PATCH] Clarified API for numbered sequences

Originally committed as revision 6166 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-04 09:57:47 +00:00
Michael Niedermayer
504ee036ee fix b pyramid in mp4 muxing if no dts are provided to the muxer
Originally committed as revision 6133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-30 21:18:17 +00:00
Nico Sabbi
9e6c94707e added option probesize; at the moment only used by mpegts.c
Originally committed as revision 6109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 12:21:19 +00:00
Nico Sabbi
4eb72c6b23 initial support for AVOption in AVFormatContext
Originally committed as revision 6108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-27 12:14:13 +00:00
Baptiste Coudurier
81f0f93826 update documentation
Originally committed as revision 5985 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 21:24:54 +00:00
Baptiste Coudurier
f21c0b4c43 export av_interleave_packet_per_dts
Originally committed as revision 5984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-11 21:21:51 +00:00
Michael Niedermayer
494bbf5805 dont be too picky about timestampsbeing wrong if the destination container is without timestamps and raw of the raw video / raw audio sort
Originally committed as revision 5961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 20:31:19 +00:00
Michael Niedermayer
434cab9e0f timestamp debugging av_logs()
Originally committed as revision 5960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-08 19:55:32 +00:00
Reimar Döffinger
22ffac707e Try to find out correct start time to make seeking faster and add some
extra checks to make sure the seeking function will not hang forever.

Originally committed as revision 5814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-23 18:19:33 +00:00
Måns Rullgård
ff70e60176 allow individual selection of muxers and demuxers
Originally committed as revision 5707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-10 21:14:37 +00:00
Måns Rullgård
d2a067d1d9 give AVInput/OutputFormat structs consistent names
Originally committed as revision 5697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-09 23:40:53 +00:00
Aurelien Jacobs
f1b163e01e set proper bits_per_sample value for ADPCM codecs
Originally committed as revision 5666 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-08 07:14:00 +00:00
Baptiste Coudurier
ac3e183403 av_get_bits_per_sample and due simplifications
Originally committed as revision 5661 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-07-07 17:50:09 +00:00
Diego Pettenò
e006c307fe Move initialisations and internal symbols in allformats.h,
patch by Diego "Flameeyes" Petteno flameeyes AA gentoo PP org
Original thread:
Date: Jun 30, 2006 2:07 AM
Subject: [Ffmpeg-devel] [PATCH] Move initialisations and internal symbols in allformats.h

Originally committed as revision 5556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-30 07:41:25 +00:00
Måns Rullgård
62c52121e0 extradata may be used as bitstream reader input so allocate with padding
Originally committed as revision 5547 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 19:42:34 +00:00
Måns Rullgård
344a18c3b8 do not fail av_find_stream_info() if params for all streams could not be found
Originally committed as revision 5545 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-29 19:02:15 +00:00
Luca Barbato
f3a30e3a9c cleanup patch from Diego Pettenò <flameeyes@gentoo.org>
Originally committed as revision 5526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-25 17:37:12 +00:00
Måns Rullgård
c10824ea67 increase search limit in av_find_stream_info
Originally committed as revision 5505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-20 19:46:09 +00:00
Stefan Huehner
a97c1e93aa Add (mostly) const to variable and parameter declaration, where a char* was
used and 'const char*' should be, plus make some function declarations
static if they aren't used outside their declaring source file.
patch by Stefan Huehner stefan%%at%%huehner%%dot%%org

Originally committed as revision 5492 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-17 15:53:23 +00:00
Måns Rullgård
a5e9102b4b free codec extradata in av_close_input_file
Originally committed as revision 5484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-16 07:54:37 +00:00
Baptiste Coudurier
47dd81c75f make dump_format output more homogenous
Originally committed as revision 5483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-15 23:26:48 +00:00
Michael Niedermayer
329b1e755e fix probe of high bitrate mpeg2video
Originally committed as revision 5471 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-06-13 11:10:55 +00:00
Baptiste Coudurier
67dd33f90e use av_d2q to parse frame rate
Originally committed as revision 5209 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-24 15:47:44 +00:00
Michael Niedermayer
305ee50fbb provide more info on which streams lack codec parameters
Originally committed as revision 5188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-21 11:29:50 +00:00
Michael Niedermayer
c04c3282b4 simplify AVFormatParameters NULL checks
Originally committed as revision 5146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-11 00:22:21 +00:00
Michael Niedermayer
30a43f2d09 add size to AVIndex
Originally committed as revision 5083 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-01 11:29:55 +00:00
Michael Niedermayer
5e43b17e7c Fix for url_fclose() being called on an already closed file based on a patch by (<Colin Ward> hitman codehq org)
Originally committed as revision 4980 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-11 17:17:37 +00:00
Michael Niedermayer
9f75260e68 improve fps guessing code
Originally committed as revision 4929 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 20:54:41 +00:00
Michael Niedermayer
53f7c43fcc sanity checks for seeking
Originally committed as revision 4927 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 19:23:33 +00:00
Michael Niedermayer
a877eedce5 dynamically increase probe buffer until format is detected
Originally committed as revision 4920 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-02-02 11:27:35 +00:00
Diego Biurrun
f038fe8b4a warning fixes by Luca Abeni, lucabe72 ##@## email ##.## it
Originally committed as revision 4898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 22:10:13 +00:00
Gildas Bazin
ac44871c77 WinCE cross-compilation support
patch by Gildas Bazin < gbazin **@** altern **.** org >

Originally committed as revision 4881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-22 18:34:17 +00:00
Diego Biurrun
5509bffa88 Update licensing information: The FSF changed postal address.
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896 COSMETICS: tabs --> spaces, some prettyprinting
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160 COSMETICS: Remove all trailing whitespace.
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer
780eb1c9b9 nan fps fix
Originally committed as revision 4744 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-16 15:51:16 +00:00
Måns Rullgård
4733abcbf3 use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:56:46 +00:00
Michael Niedermayer
31e11451f7 allow NULL write_header() and write_trailer()
Originally committed as revision 4675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-11-04 23:50:11 +00:00
Michael Niedermayer
2118901192 print more time_base fps stuff if av_log level is at debug or above
print more likely correct fps
not sure if this is formated optimally ...

Originally committed as revision 4596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-18 14:45:17 +00:00
Måns Rullgård
79396ac685 Kill some compiler warnings. Compiled code verified identical after changes.
Originally committed as revision 4567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-06 21:25:35 +00:00
Reimar Döffinger
b461b3bc4a Support de-/encoding of 24 and 32 bit PCM (from and to internal 16 bit).
Originally committed as revision 4548 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-09-02 19:16:48 +00:00
Michael Niedermayer
7cbaa7bafa parse pict_type for streams in avi
fix mpeg4 parser so it outputs te pict_type
support header only parseing without repacking

Originally committed as revision 4527 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 15:58:21 +00:00
Michael Niedermayer
30bc6613fe support fixing missing pts by parsing future frames
Originally committed as revision 4526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-15 14:22:43 +00:00
Wolfram Gloger
f0ff20a197 minor fixes for invalid audio data patch by (Wolfram Gloger: wmglo, dent med uni-muenchen de)
Originally committed as revision 4524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 16:37:29 +00:00
Michael Niedermayer
9450118bc7 a few checks, seems i forgot to commit this
Originally committed as revision 4523 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 16:19:20 +00:00
Måns Rullgård
bf4e3bd2d0 kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-08-14 15:42:40 +00:00
Michael Niedermayer
01f4895c68 changing AVCodecContext codec -> *codec in AVStream so additions to AVCodecContext dont randomize AVStream and break binary compatibility
Originally committed as revision 4453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 22:24:36 +00:00
Michael Niedermayer
c6ec28b18c DVB subtitle decoder by (Ian Caulfield: imc25, cam ac uk)
Originally committed as revision 4448 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-17 00:28:12 +00:00
Kenneth Aafløy
6fd93ce271 avformat/av_seek_frame_binary with growing file patch by (Kenneth Aafløy: kenneth, aafloy net)
Originally committed as revision 4423 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-08 09:14:05 +00:00
Michael Niedermayer
9c98cdbc8a av_seek_frame() docs timestamp clarification
Originally committed as revision 4422 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-05 09:07:51 +00:00
Michael Niedermayer
2577897d2b fix assertion failure
Originally committed as revision 4411 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-29 08:48:26 +00:00
Daniel Kristjansson
e36bdf8bf5 part of the 'libavformat/utils.c doxygen documentation' patch by (Daniel Kristjansson: danielk, cat nyu edu)
Originally committed as revision 4405 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-28 12:55:08 +00:00
Michael Niedermayer
43c0040a65 dont open and close codec at every call of try_decode_frame() as this is not only slow but also fails if the previous frame is needed for setting some parameters correctly
Originally committed as revision 4400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 20:54:36 +00:00
Michael Niedermayer
90ad92b39d support changing in bitstream global headers into extradata style and back
Originally committed as revision 4395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-27 00:04:03 +00:00
Michael Niedermayer
69d93a1344 typo fix by (lists: kenneth aafloy net)
Originally committed as revision 4354 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-05 11:09:50 +00:00
Michael Niedermayer
2143116dd9 changing a few AV_LOG_DEBUG to AV_LOG_INFO
Originally committed as revision 4315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-29 11:44:21 +00:00
Michael Niedermayer
2692067a45 AVPacket.pos
Originally committed as revision 4314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-26 20:17:12 +00:00
Michael Niedermayer
cefe0607dd av_find_stream_info() end check fixes
10l (wrong time base)
  use timestamps if duration isnt available

Originally committed as revision 4301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-22 08:47:09 +00:00
Aurelien Jacobs
a965c478b2 drop most url_fileno() calls (allows to use ByteIOContext directly in caller apps instead of URLProtocol)
Originally committed as revision 4275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-19 00:06:27 +00:00
Michael Niedermayer
1677155df8 10l (overflows)
Originally committed as revision 4226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-12 16:27:05 +00:00
Michael Niedermayer
3c150d16c6 better r_frame_rate guessing code
Originally committed as revision 4193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 23:41:47 +00:00
Michael Niedermayer
09f75b5b38 division by zero fix
Originally committed as revision 4191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 21:11:38 +00:00
Michael Niedermayer
327c4076a3 prefer container time_base for frame duration guess
Originally committed as revision 4190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-06 20:26:50 +00:00
Michael Niedermayer
c0df9d75bd switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-30 21:43:59 +00:00
Michael Niedermayer
644a92626a PIX_FMT_NONE and related fixes
Originally committed as revision 4161 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-25 18:29:06 +00:00
Michael Niedermayer
3ce16b30f7 discard dummy packets before doing inapropriate checks on them and failing as a result
Originally committed as revision 4078 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-24 01:51:57 +00:00
Michael Niedermayer
f3356e9c9e more fine grained discarding of packets
Originally committed as revision 4051 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-17 01:25:01 +00:00
Michael Niedermayer
27a5fe5fdf keyframe & non keyframe index fixes
Originally committed as revision 4034 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-13 00:13:01 +00:00
Michael Niedermayer
85ad569574 shorten decoder by (Jeff Muizelaar <jrmuizel gmail com>)
Originally committed as revision 3984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-26 03:36:04 +00:00
Måns Rullgård
88730be651 kill warnings patch by (Måns Rullgård <mru inprovide com>)
Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 19:08:50 +00:00
Michael Niedermayer
a603bf8d68 dont predict missing timestamps if we lack the required information to do so
Originally committed as revision 3898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-29 02:27:33 +00:00
Roine Gustafsson
888053179c support colon-separated rates patch by Roine Gustafsson <roine AT users DOT sourceforge DOT net>
Originally committed as revision 3892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-27 16:11:31 +00:00
Michael Niedermayer
b9866ebcc7 support discarding uninterresting packets
Originally committed as revision 3860 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 13:36:02 +00:00
Michael Niedermayer
e19456e3ee fixing demuxing for short files where the framerate detection failed
Originally committed as revision 3859 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-22 02:30:45 +00:00
Michael Niedermayer
0ecca7a49f various security fixes and precautionary checks
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Michael Niedermayer
568e18b15e integer overflows, heap corruption
possible arbitrary code execution cannot be ruled out in some cases
precautionary checks

Originally committed as revision 3813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-08 14:21:33 +00:00
Michael Niedermayer
96db7add10 10l
Originally committed as revision 3798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-03 20:33:52 +00:00
Michael Niedermayer
5375644323 1/0l fix
Originally committed as revision 3770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-22 01:33:04 +00:00
Michael Niedermayer
b3506cb42f prefer integer fps if possible when guessing
Originally committed as revision 3769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-21 02:27:40 +00:00
Michael Niedermayer
3e76d1b526 guess fps for the variable fps case
Originally committed as revision 3768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-21 02:16:11 +00:00
Michael Niedermayer
15bc38e57c try to guess the fps if they are variable
Originally committed as revision 3760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-19 01:23:22 +00:00
Michael Niedermayer
90bb394dcc workaround some broken mpeg-ps timestamps
Originally committed as revision 3755 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-15 02:36:03 +00:00
Michael Niedermayer
5edea431d0 some sanity checks on what is muxed, invalid timestamps in mpeg are very common and lead to strange errors in the mpeg muxer otherwise
Originally committed as revision 3752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 16:19:26 +00:00
Michael Niedermayer
7984bbe2ce fix timestamp prediction for low_delay mpeg streams
Originally committed as revision 3751 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-14 12:04:45 +00:00
Michael Niedermayer
d43ed92def use pts based duration/bitrate guessing code for mpeg-ts
Originally committed as revision 3731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 00:15:52 +00:00
Michael Niedermayer
f9a35124a7 fixing pipe seek bug
Originally committed as revision 3730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-06 00:08:37 +00:00
Michael Niedermayer
0d71240921 fifo_realloc()
Originally committed as revision 3726 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-01 02:28:28 +00:00
Michael Niedermayer
1b307febc4 fixing playback of ftp://ftp.mplayerhq.hu/MPlayer/incoming/blender_raw.avi
Originally committed as revision 3723 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-30 18:45:34 +00:00
Loren Merritt
f37b9768f6 split ffhuffyuv into 2 codecs:
"huffyuv" is compatible with the official version
"ffvhuff" contains our improvements

Originally committed as revision 3720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 18:29:38 +00:00