Commit Graph

25543 Commits

Author SHA1 Message Date
Michael Niedermayer
4346539522 av_log() cleanup
null pointer segfaults
 dont print redundant spam
 dont print prefix if reference==NULL
 class -> av_class
 dont copy AVClass to every object, its a waste of memory and not a good idea at all

Originally committed as revision 2841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 17:53:55 +00:00
Michel Bardiaux
bc874daea8 av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 15:41:21 +00:00
Michael Niedermayer
81c5f88748 macrofree av_freep()
Originally committed as revision 2839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-03 01:57:43 +00:00
Ivan Kalvachev
461cd5bfb5 add vlc for cbp=0 that is valid in 422,444
Originally committed as revision 2838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 18:39:25 +00:00
Michael Niedermayer
50c93f74a6 10l (segfault fix)
Originally committed as revision 2837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 17:21:55 +00:00
Michael Niedermayer
ed263031f6 100l (divx5 b frame + seeking + flush fix)
Originally committed as revision 2836 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 03:18:03 +00:00
Ivan Kalvachev
4eaad9c028 forgot default chroma_format value
Originally committed as revision 2835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 00:40:18 +00:00
Ivan Kalvachev
197662a632 fix typo
Originally committed as revision 2834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-02 00:30:25 +00:00
Ivan Kalvachev
5e5c247a7c initial chroma_format changes,xvmc tweaks and codec_cap
Originally committed as revision 2833 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-01 14:55:21 +00:00
Dmitry Baryshkov
3f1d4e9600 attribute_used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
Originally committed as revision 2832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-03-01 12:46:20 +00:00
Michael Niedermayer
95d356c587 optimizing/cleanup of mpeg/qpel_motion()
Originally committed as revision 2831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 22:14:46 +00:00
Dmitry Baryshkov
5c0513bda7 attribute used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))
Originally committed as revision 2830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 22:10:18 +00:00
Michael Niedermayer
fddae1c30f skip b frames before first i frame
Originally committed as revision 2829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 02:25:19 +00:00
Michael Niedermayer
c8a4ebbf27 simplify MPV_motion()
Originally committed as revision 2828 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 02:08:28 +00:00
Michael Niedermayer
5ba326b5d4 interlaced mpeg4 + edge emu fix (fixes decoding of mermaid.avi)
related cleanup

Originally committed as revision 2827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-29 00:37:36 +00:00
Michael Niedermayer
4c9544d026 mpeg2 field pic decoding fix
simplifiations

Originally committed as revision 2826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 21:02:49 +00:00
Gael Chardon
2a24fe4ccc int64_t_C patch by (Gael Chardon <gael-announcements+ffmpeg at 4now dot net>)
Originally committed as revision 2825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 16:41:23 +00:00
John Dalgliesh
853d659d6f os x md5sum patch by (John Dalgliesh <johnd at defyne dot org>)
Originally committed as revision 2824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 15:15:58 +00:00
Michael Niedermayer
aab34ca0c5 Metrowerks CodeWarrior patches by (John Dalgliesh <johnd at defyne dot org>)
Originally committed as revision 2823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-28 15:03:53 +00:00
Michael Niedermayer
259630df42 10l (vdpart fix)
Originally committed as revision 2822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 19:11:21 +00:00
Michael Niedermayer
8d52ec7eb0 AVCodec.supported_framerates
Originally committed as revision 2821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 18:29:39 +00:00
Michael Niedermayer
71141d771a INT64_MIN fix
Originally committed as revision 2820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 15:15:05 +00:00
Michael Niedermayer
9d5277ce32 10l
Originally committed as revision 2819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 13:42:17 +00:00
Michael Niedermayer
ae35f5e14e 100l (field picture decoding fix)
Originally committed as revision 2818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-26 02:48:07 +00:00
Michael Niedermayer
79c060bccb Wolfgang Hesseler (mv/dct coeff export & mv vissualiztion)
Originally committed as revision 2817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 18:30:49 +00:00
Wolfgang Hesseler
8289c6faa8 export DCT coefficients patch by (Wolfgang Hesseler <wolfgang.hesseler at imk dot fraunhofer dot de>)
Originally committed as revision 2816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 18:29:17 +00:00
Michael Niedermayer
5a815088d3 1l
Originally committed as revision 2815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 18:17:45 +00:00
Michael Niedermayer
9740beffc6 use AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0
move AV_NOPTS_VALUE & AV_TIME_BASE from avformat.h -> avcodec.h
related fixes

Originally committed as revision 2814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 17:35:52 +00:00
Steven M. Schultz
8ac5c1b2d3 av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 02:47:53 +00:00
Michael Niedermayer
e51f49487e set AVFrame.pts based upon framerate if its 0
detect & warn if the user prvides pts only for some frames, and try to guess the missing ones

Originally committed as revision 2812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-25 02:05:50 +00:00
Steven M. Schultz
ed7b99bbe2 av_log() patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 21:18:29 +00:00
Michael Niedermayer
c62c07d3d7 multithreaded mpeg2 decoding
Originally committed as revision 2810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 20:56:56 +00:00
Steven M. Schultz
c0a2c42f59 av_log patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
Originally committed as revision 2809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 16:07:30 +00:00
Michael Niedermayer
560ff8095f av_log()
Originally committed as revision 2808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-23 15:59:21 +00:00
Michael Niedermayer
310ffb8f26 c99
Originally committed as revision 2807 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-22 21:22:47 +00:00
Michael Niedermayer
d705e4a6bb (f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get
Originally committed as revision 2806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-22 00:31:19 +00:00
Gildas Bazin
2092bd7531 avsync patch by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-20 14:39:15 +00:00
Hauke Duden
2451592652 improved VCD support patch by ("Hauke Duden" <H.NS.Duden at gmx dot net>)
- the first audio and video packs now contain only a system header and lots
  of padding.
  - no system headers in any packs other than the first ones
  - the two system headers only contain information about "their" stream
  - fixed some header values (muxrate, some flags, ...) so that they have the
  values specified by the standard
  - padding packs are inserted if the mux rate would be below 75 packs per
  second (the rate must not be below or above that value).
  - fixed the SCR of the packs
  - 20 zero bytes are now inserted at the end of each audio pack, after the
  data packet

Originally committed as revision 2804 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 22:34:13 +00:00
Michael Niedermayer
16806499fc w32threads by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 20:29:26 +00:00
Ivan Kalvachev
530d574081 use get_format
Originally committed as revision 2802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-19 00:30:33 +00:00
Michael Niedermayer
5e7c25f0d1 simplify
Originally committed as revision 2801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 22:54:02 +00:00
Michael Niedermayer
9ab2717a9d auxdatae, crcrs fix by (Jean-Francois Panisset <panisset at comcast dot net>)
Originally committed as revision 2800 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 19:15:19 +00:00
Michael Niedermayer
2dd59ebd45 update libavformat regression checksums (it should be checked why exactly they changed ...), and always test libavformat in make test so this doesnt happen again
Originally committed as revision 2799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 19:07:58 +00:00
Michael Niedermayer
fbf2284cd2 check if threads_count is too large
Originally committed as revision 2798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 16:26:16 +00:00
Michael Niedermayer
1e31d32c34 flac_flush()
Originally committed as revision 2797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 15:17:54 +00:00
Michael Niedermayer
0496a03413 simplify
only change context if frame header is error-free, as some fields may not be stored in the frame header and so a single damaged frame-header may trash them

Originally committed as revision 2796 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 14:05:49 +00:00
Alex Beregszaszi
f8d58f4d10 flac
Originally committed as revision 2795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 12:51:56 +00:00
Alex Beregszaszi
69f5de1855 avoid negative array indices
Originally committed as revision 2794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 12:49:30 +00:00
Michael Niedermayer
9d65611096 crc8 checking, based upon a patch by (Miroslav Lichvar <lichvarm at phoenix dot inf dot upol dot cz>)
less spam/av_log
fix synccode search
channel_order -> decorrelation_type (cosmetic i know, but the old name is too meaningless IMHO)
faster mid/side decorrelator based upon lifting transforms

Originally committed as revision 2793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 04:10:52 +00:00
Michael Niedermayer
4fd125984b remove residual array, it isnt really needed
Originally committed as revision 2792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-18 02:00:55 +00:00