Commit Graph

1887 Commits

Author SHA1 Message Date
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
Carl Eugen Hoyos
034ef0e8c3 Move base64.[ch] to libavutil.
patch by Carl Eugen Hoyos, cehoyos ag.or at

Originally committed as revision 7963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 08:21:47 +00:00
Michael Niedermayer
6d29fba950 support yet another broken avi (filedoesitbetter.avi) which has a wrong stream count
Originally committed as revision 7961 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-13 00:38:16 +00:00
Michael Niedermayer
1d7d9935b2 always use audio spread (instead of "video no spread" for audio ...)
Originally committed as revision 7960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 23:32:55 +00:00
Michael Niedermayer
a98d3e829a increaseing preroll time to the minimum of the asf files i have
Originally committed as revision 7955 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 22:55:09 +00:00
Michael Niedermayer
0d9f863340 dont set the keyframe flag for audio as microshitty doesnt do it and some things have problems with our asfs, maybe that has a positive effect?
Originally committed as revision 7952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 19:24:53 +00:00
Michel Bardiaux
d794d388a6 Add FACT chunk for non-PCM wav formats
Originally committed as revision 7950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 15:57:21 +00:00
Luca Abeni
c7238c72cb Pass a proper context to av_log()
Originally committed as revision 7946 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-12 13:38:14 +00:00
Reimar Döffinger
80a289b9bf mxf aes decryption support, patch by Reimar, simplified to only look for first crypto context, will be extended once we get files with multiple cryptocontext, and hope that they won't have broken container ul
Originally committed as revision 7925 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:50:33 +00:00
Reimar Döffinger
c964c2c745 add key field to AVFormatContext for de/encryption support, patch by Reimar
Originally committed as revision 7924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-11 12:37:28 +00:00
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
2007-02-10 22:25:52 +00:00
Michael Niedermayer
559a55ad52 use dvr-ms timestamps
Originally committed as revision 7905 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-10 03:36:12 +00:00
Michael Niedermayer
2d241e6687 fix broken memset(padding, 0) code
add a few asserts

Originally committed as revision 7903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 20:49:12 +00:00
Nico Sabbi
cf10ee184f demux VC1 in mpegts
Originally committed as revision 7902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 20:34:24 +00:00
Kostya Shishkov
7bb5c2a6ea Raw VC-1 demuxer
Originally committed as revision 7896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 12:10:15 +00:00
Diego Biurrun
f2390590e0 Remove obsolete imgformat1 leftovers.
Originally committed as revision 7894 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:37:56 +00:00
Diego Biurrun
f248d017a7 Remove commented-out NUT muxer entry, can be added once we have a native muxer.
Originally committed as revision 7893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:32:04 +00:00
Diego Biurrun
7a7a6486aa cosmetics: Reorder NUT entries.
Originally committed as revision 7892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:30:51 +00:00
Diego Biurrun
d7c592475d Properly separate native and libnut NUT (de)muxers.
Originally committed as revision 7891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-09 08:28:47 +00:00
Justin Ruggles
7156aeb98a add read_probe function to raw ac3 demuxer
Originally committed as revision 7887 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 23:41:08 +00:00
Reimar Döffinger
a0bbb2e977 Use av_set_pts_info and set some arbitrary timebase fallback
Originally committed as revision 7883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-08 20:54:12 +00:00
Michael Niedermayer
ff5b8d8360 remove senseless and wrong direct access to ByteIOContext internals
Originally committed as revision 7881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 23:32:51 +00:00
Reimar Döffinger
51bd81f64d set pts_wrap_bits to 32 since timestamps in packets are 32 bit
Originally committed as revision 7880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 23:22:53 +00:00
Michael Niedermayer
190972a06e iam pretty sure send time is dts and not pts ...
Originally committed as revision 7879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 23:06:13 +00:00
Reimar Döffinger
2a1c3b8b90 10l, forgot to skip payload description in UMF packet parsing
Originally committed as revision 7878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 22:51:42 +00:00
Michael Niedermayer
9bc932294f muxing packets with unknown timestamps is not allowed
Originally committed as revision 7877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 22:26:48 +00:00
Michael Niedermayer
d09ea618ed supporting files with A,V,I,0x19 header
Originally committed as revision 7876 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 17:56:31 +00:00
Diego Biurrun
71e445fca3 Replace deprecated PIX_FMT names by the newer variants.
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Michael Niedermayer
aad512b4ec Revised patch for HD DVD .EVO demuxing by (Ian Caulfield <lowercase name seperated by . place at here gmail place a dot here com>)
Originally committed as revision 7853 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-06 19:14:16 +00:00
Michael Niedermayer
4323b09d38 indent
Originally committed as revision 7845 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 23:16:01 +00:00
Michael Niedermayer
ded3c7da61 dynamic index building so forward and backward seeking in avi without an index is possible
Originally committed as revision 7842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-05 23:06:08 +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
Ramiro Polla
42572ef53f move networking #includes into separate file
patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org

Originally committed as revision 7817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-04 17:05:44 +00:00
Panagiotis Issaris
ca4544409e Make x11grab output its warning that it couldn't find the mouse pointer only
once. This prevents flooding of the terminal when grabbing from a different
X-screen.

Originally committed as revision 7808 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 17:54:50 +00:00
Zuxy Meng
a836a2c8b2 Set correct aspect ratio (it's sample aspect, not display aspect)
Patch by Zuxy Meng
(mail = `echo "Zuxy Meng" | tr "[A-Z] " "[a-z]." | sed "s/$/@gmail.com/"`)

Originally committed as revision 7806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-02 14:33:25 +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
30e88789c9 extract aspect ratio
Originally committed as revision 7791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 23:32:01 +00:00
Michael Niedermayer
8643594ce3 10l to whoever wrote this (wrong fps, fixes nirvana.nuv)
Originally committed as revision 7781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 11:24:04 +00:00
Michel Bardiaux
f0ee3ea619 Add some context to av_log calls.
patch by Michel Bardiaux, mbardiaux mediaxim be

Originally committed as revision 7774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-31 08:29:24 +00:00
Ronald S. Bultje
68fcdbf1e5 Fix misbehaviour in url_fseek() when seeking fails.
The return value of the seek function is -1 on error, not -EPIPE (the return value in url_seek() if no seek function pointer is set)
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Dec 31, 2006 9:25 PM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling

Originally committed as revision 7766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:48:39 +00:00
Ronald S. Bultje
eabbae730c protect the size=seek(SEEK_END,-1)+1 results with an if (.. < 0), else the
return value may still end up being zero (if the seek returns -1, which is
e.g. what file.c will return on error), which is a valid (but incorrect)
filesize.
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Jan 2, 2007 2:11 AM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling

Originally committed as revision 7765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:37:52 +00:00
Luca Barbato
a58b82f874 Missing prototype added
Originally committed as revision 7760 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 15:02:57 +00:00
Michael Niedermayer
f8f0a0bdfd fix seeking in wma
Originally committed as revision 7759 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-29 14:54:55 +00:00
Kostya Shishkov
49561f992e Seeking support in WavPack
Originally committed as revision 7750 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 17:23:28 +00:00
François Revol
66d49636c7 an alloc func failing should give ENOMEM anyway.
Originally committed as revision 7737 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 09:07:49 +00:00
Ronald S. Bultje
8f42f5238e proper error handling in file size retrieval, patch by Ronald S. Bultje rbultje at ronald bitfreak net
Originally committed as revision 7736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-28 02:38:02 +00:00
Michael Niedermayer
de3ae9596b stealing a few field names from mplayers asf demuxer
Originally committed as revision 7725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-27 12:07:16 +00:00
Baptiste Coudurier
4abc097146 remove void * used in arithmetic warnings
Originally committed as revision 7716 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-26 12:32:23 +00:00
Baptiste Coudurier
72fd40bd3a add waveformatextensible support
Originally committed as revision 7714 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 21:56:06 +00:00
Guillaume Poirier
706c0d6509 use more portable PRIu64
Originally committed as revision 7707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 10:01:28 +00:00
Diego Biurrun
722dabcc94 Move conditional CFLAGS and OBJS setting to common place.
Originally committed as revision 7699 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:34:38 +00:00
Diego Biurrun
bf50703313 cosmetics: sort
Originally committed as revision 7697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-25 00:10:10 +00:00
Baptiste Coudurier
e809d7e50a remove some printf warnings
Originally committed as revision 7691 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:59:58 +00:00
Baptiste Coudurier
01aa1937cf make vars unsigned
Originally committed as revision 7690 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:57:41 +00:00
Baptiste Coudurier
649348777e stop if current sample is higher than sample count
Originally committed as revision 7689 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 15:46:59 +00:00
Baptiste Coudurier
560588b717 replace strcpy by memcpy
Originally committed as revision 7685 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 12:49:24 +00:00
Baptiste Coudurier
a20a37e69a remove useless field
Originally committed as revision 7682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:57:38 +00:00
Baptiste Coudurier
69e7070da6 remove obsolete comment
Originally committed as revision 7681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:56:45 +00:00
Baptiste Coudurier
44d3fea53b make some fields unsigned
Originally committed as revision 7680 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:55:07 +00:00
Baptiste Coudurier
dfcf8d57c5 add sanity checks
Originally committed as revision 7679 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-24 10:44:24 +00:00
Daniel Kristjansson
e995cfca28 mpegts-documentation-only.patch -- adds documentation patch by Daniel Kristjansson / danielk mrl.nyu edu
yes another 1 year old patch, this one though has one failed hunk

Originally committed as revision 7676 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:47:32 +00:00
Måns Rullgård
bb2864fb21 remove unused files
Originally committed as revision 7675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:42:36 +00:00
Daniel Kristjansson
2ddb79befd "converts printf's to avlog's" patch by Daniel Kristjansson / danielk mrl.nyu edu
another 1 year old patch forgoten by mans
trailing whitespace removial by me

Originally committed as revision 7674 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:41:30 +00:00
Daniel Kristjansson
105e517df3 "removes definition for old crc func" patch by Daniel Kristjansson / danielk mrl.nyu edu
patch ~ 1year old, apparently forgotten by our mpeg-ts demuxer maintainer

Originally committed as revision 7673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:36:32 +00:00
Michael Niedermayer
0fd9e6f34a make the asf demuxer resistant against insertion/deletion errors
Originally committed as revision 7672 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 21:25:06 +00:00
Michael Niedermayer
79a5b35c05 remove padding to 16bit code, i dont think this change can break anything and it makes the broken MPEG2-pub.avi from http://www.albx79.it/stuff/ playable other players arent that picky either ...
Originally committed as revision 7670 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 18:37:23 +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
Michael Niedermayer
683ab79ca0 flv follows in movs footsteps and has random trash in the width/height fields
Originally committed as revision 7668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 15:38:07 +00:00
Michael Niedermayer
742482290f improve probe and give it the max score
Originally committed as revision 7667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-23 15:23:41 +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
f7835507cb consistant error return for asf_get_packet()
Originally committed as revision 7657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:38:33 +00:00
Michael Niedermayer
92216453db better padsize check
Originally committed as revision 7656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:33:26 +00:00
Michael Niedermayer
0b93103a31 more correct error message
Originally committed as revision 7655 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:31:40 +00:00
Michael Niedermayer
ceba96cb26 replace wrong return 0 by -1
Originally committed as revision 7654 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:28:56 +00:00
Michael Niedermayer
13f7e4b966 check to detect nonsense fragment size
Originally committed as revision 7653 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 21:17:54 +00:00
Michael Niedermayer
1ae7518dda inden(ta)tion
Originally committed as revision 7652 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 17:06:46 +00:00
Michael Niedermayer
200026aae4 replace nonsense code by something which makes at least some sense
Originally committed as revision 7651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 17:01:01 +00:00
Michael Niedermayer
4c71d72701 check fragment offset and size
yes this too could have been exploitable ...

Originally committed as revision 7650 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 16:37:45 +00:00
Michael Niedermayer
ae60a85780 move frame header reading into its own function
Originally committed as revision 7649 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:55:23 +00:00
Michael Niedermayer
b04d5d3116 more correct packet alignment check and correction
Originally committed as revision 7648 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:52:49 +00:00
Michael Niedermayer
5e2a485507 10l
Originally committed as revision 7647 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 12:33:10 +00:00
Michael Niedermayer
4c6f7440af doxygenize comments
Originally committed as revision 7646 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:15:30 +00:00
Michael Niedermayer
4e15cc8ba3 cosmetics (aligne stuff nicely)
Originally committed as revision 7645 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:04:55 +00:00
Michael Niedermayer
d045b8c14b get rid of some sensless malloc/free
Originally committed as revision 7644 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:03:47 +00:00
Michael Niedermayer
916bb12c90 simplify
Originally committed as revision 7643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 11:01:27 +00:00
Michael Niedermayer
6bb2a2dfb9 remove a few unused and duplicated variables
Originally committed as revision 7642 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 10:53:57 +00:00
Michael Niedermayer
0521946359 adding a few checks to the audio packet descrambling, this should hopefully catch all related out of array accesses
note, the original code might have been exploitable

Originally committed as revision 7640 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 03:19:00 +00:00
Michael Niedermayer
b83e83b915 cosmetic
Originally committed as revision 7639 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 01:21:16 +00:00
Diego Biurrun
9688979c51 Fix some more license headers.
Originally committed as revision 7637 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 01:16:42 +00:00
Michael Niedermayer
fc9eb13732 these variables seem to be unused on the demuxer side so theres no sense in setting them
Originally committed as revision 7636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-22 00:20:58 +00:00
Michael Niedermayer
236116cb4c get rid of a few idiotic asserts()
Originally committed as revision 7632 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 23:03:09 +00:00
Michael Niedermayer
b586d9eac3 useless &0x80
Originally committed as revision 7631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:46:14 +00:00
Aurelien Jacobs
4014fe37a3 remove now useless codec_tag setting code in voc muxer
Originally committed as revision 7628 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:41:37 +00:00
Diego Biurrun
9ba6004993 Remove useless #ifdef.
Originally committed as revision 7625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 22:02:12 +00:00
Måns Rullgård
621b4c4cef reorder alphabetically
Originally committed as revision 7619 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:20:18 +00:00
Måns Rullgård
90d912afd9 remove no longer needed ifeq tests
Originally committed as revision 7618 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:06:10 +00:00
Måns Rullgård
eba70fa4e2 remove no longer needed #ifdefs
Originally committed as revision 7617 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 21:04:01 +00:00
Ramiro Polla
95a47d963b BeOS cleanup
Patch by Ramiro Polla % ramiro A lisha P ufsc P br %
Original thread:
date: Jan 20, 2007 8:56 PM
subject: [Ffmpeg-devel] [PATCH] [RFC] change socket read and write functions

Originally committed as revision 7613 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 20:40:22 +00:00
Michael Niedermayer
fe468b331a remove sensless casts
Originally committed as revision 7612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 20:15:55 +00:00
Michael Niedermayer
24c14d6d01 simplify GUIDs
Originally committed as revision 7611 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 20:06:19 +00:00
Michael Niedermayer
5c1844ab56 fix msmpeg4v3 tag in asf
Originally committed as revision 7606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 13:01:53 +00:00
Michael Niedermayer
d65b823031 simplify
Originally committed as revision 7605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:55:31 +00:00
Michael Niedermayer
acf0b6a657 the context is supposed to be freed in the generic code in utils.c
Originally committed as revision 7604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:47:46 +00:00
Michael Niedermayer
bb85077fc9 remove now useless codec_tag setting code in muxers
Originally committed as revision 7603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:44:58 +00:00
Michael Niedermayer
07495657fb simplify
Originally committed as revision 7602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:43:29 +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
Michael Niedermayer
4fde033a68 this is wrong but it was that way before the AVCodecTag change, only reason why it didnt broke regressions was that the table wasnt used
Originally committed as revision 7599 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:30:44 +00:00
Michael Niedermayer
6c77805fc8 get rid of the [4] limitation of codec tag lists
Originally committed as revision 7596 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 12:08:31 +00:00
Michael Niedermayer
edb6e50682 export a few more codec_tag-codec_id tables
Originally committed as revision 7594 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 02:12:34 +00:00
Michael Niedermayer
7caf0cc62c add codec_id <-> codec_tag tables to AVIn/OutputFormat
Originally committed as revision 7593 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-21 01:39:17 +00:00
Michael Niedermayer
5c4e1928c0 fix indention (dunno why it was messed up ...)
Originally committed as revision 7592 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-20 23:09:27 +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
Alex Beregszaszi
fead30d444 rename BE/LE_8/16/32 to AV_RL/B_8/16/32
Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-19 22:12:59 +00:00
Aurelien Jacobs
763750242b cosmetics: indentation
Originally committed as revision 7583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 23:23:41 +00:00
François Revol
c9c1a8e794 The long awaited BeOS cleanup, phase 1.1: removed useless ifdef, changed check for net_server to IP_MULTICAST_TTL.
Originally committed as revision 7582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 17:48:21 +00:00
François Revol
e9d511dc7e The long awaited BeOS cleanup, phase 1
Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 17:22:30 +00:00
Alex Beregszaszi
453cd7a496 omg, major typo (fails if card supports rgb24)
Originally committed as revision 7580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-18 15:42:25 +00:00
Michael Niedermayer
80036204af simplify
Originally committed as revision 7567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 12:06:31 +00:00
Michael Niedermayer
b90ba24b9a simplify pts/dts reading
Originally committed as revision 7565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:55:01 +00:00
Michael Niedermayer
75a9fbb9e9 cosmetic
Originally committed as revision 7563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:45:59 +00:00
Michael Niedermayer
7e4709b18f reduce len checks, simplifies code
there is a very small chance that a stream which is damaged && unseekable && very small packet && damage to the flags && unlucky buffer state could have a valid packet after a damaged packet lost, but i think this is so unlikely that the simplification outweights it
mans if you disagree with any commit to mpeg.c just say so and ill revert it

Originally committed as revision 7562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:44:57 +00:00
Michael Niedermayer
e56cfad04b seperate redo (we dont handle this possibly valid packet) from
error_redo (somethings is definitly wrong) in which case we try to resync from the last startcode

Originally committed as revision 7560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-17 10:19:10 +00:00
Diego Biurrun
db69c2e590 Make nb_streams unsigned to avoid an ugly cast.
Originally committed as revision 7556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 22:31:10 +00:00
Baptiste Coudurier
429088dc52 add msrle fourcc, quicktime_bmp.mov
Originally committed as revision 7541 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 00:40:06 +00:00
Baptiste Coudurier
69d987a6e6 add png fourcc
Originally committed as revision 7540 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-16 00:26:39 +00:00
Michael Niedermayer
b086d4ff9c fix segfault with http://sam.zoy.org/zzuf/lol-ffplay.wmv
Originally committed as revision 7539 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 23:47:53 +00:00
Michael Niedermayer
c33fc0a540 fixing segfault with http://sam.zoy.org/zzuf/lol-ffplay.avi
Originally committed as revision 7537 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 22:56:46 +00:00
Måns Rullgård
e22f2aaf99 check for sane values in ogg_get_length(), fix lol-ffplay.ogm fuzz test
Originally committed as revision 7536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 22:45:50 +00:00
Måns Rullgård
20be72c890 save/restore number of streams
Originally committed as revision 7535 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 22:05:22 +00:00
Roman Shaposhnik
e950141a58 * Fixing a bug with incorrect bits set in AAUX source pack
* Making DV codec release a buffer on exit
   * Flagging accepted pix_fmts for DV encoder

Originally committed as revision 7531 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 07:41:28 +00:00
Baptiste Coudurier
975c88e30e cosmetics, function -> metadata
Originally committed as revision 7526 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-15 01:04:43 +00:00
Baptiste Coudurier
d8b3576d42 remove useless essence container data sets for now
Originally committed as revision 7516 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:32:51 +00:00
Baptiste Coudurier
8b621afbd1 remove useless preface parsing for now, will reintroduce it if needed
Originally committed as revision 7515 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:31:30 +00:00
Baptiste Coudurier
e6837cfaf0 merge multiple descriptor parsing with generic one
Originally committed as revision 7513 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:23:06 +00:00
Baptiste Coudurier
9bdeba37a0 remove warning, key is const
Originally committed as revision 7509 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:17:10 +00:00
Baptiste Coudurier
55de95b9c7 indention
Originally committed as revision 7508 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:16:20 +00:00
Baptiste Coudurier
33bddcdc13 follow michael suggestion and simplify code at object level
Originally committed as revision 7507 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 23:14:36 +00:00
Ronald S. Bultje
621810045c makes the filename member of the URLContext a pointer, so that the
structure can be extended in the future without breaking ABI.
patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
Date: Jan 1, 2007 6:01 PM
Subject: [Ffmpeg-devel] make URLContext->filename a pointer

Originally committed as revision 7506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 22:07:19 +00:00
Ronald S. Bultje
fb2b4fc50a add support for HTTP seeking
patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
Date: Jan 4, 2007 5:42 AM
Subject: [Ffmpeg-devel] [PATCH/RFC] http seeking

Originally committed as revision 7505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 22:02:38 +00:00
Reimar Döffinger
86074ce341 Make seeking work in files that contain encrypted tracks.
Originally committed as revision 7502 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 21:23:32 +00:00
Reimar Döffinger
d188691205 10l, > vs. >= typo, caused crashes on last mpc frame
Originally committed as revision 7476 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:10:05 +00:00
Reimar Döffinger
1fe68f0e7c Simplify klv_decode_ber_length
Originally committed as revision 7475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 16:02:22 +00:00
Baptiste Coudurier
3439dc9507 seek back at the end of file after updating header
Originally committed as revision 7473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 13:57:26 +00:00
Baptiste Coudurier
8f36d4ba4d simplify
Originally committed as revision 7465 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 12:47:32 +00:00
Baptiste Coudurier
2ab573cdc3 priv_data is allocated internally
Originally committed as revision 7459 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 02:21:28 +00:00
Baptiste Coudurier
a0dc1ccd29 enable mjpeg in swf
Originally committed as revision 7458 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 01:57:43 +00:00
Baptiste Coudurier
655254f001 simplify
Originally committed as revision 7457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 01:20:24 +00:00
Baptiste Coudurier
5b1e5dce35 swf can contain only one audio track, simplify
Originally committed as revision 7456 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-14 01:14:31 +00:00