summaryrefslogtreecommitdiff
path: root/libavformat/mpegenc.c
Commit message (Collapse)AuthorAge
* put_bits can only reliably write up to 31 bit bits, above it relies onReimar Döffinger2009-10-01
| | | | | | | | undefined shift behaviour. Document this, fix the assert and add a put_bits32 to handle writing 32 bits and use that where necessary. Originally committed as revision 20124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set restrictions on packet_size, as per ISO-11172 / H-222 specificationsRonald S. Bultje2009-06-17
| | | | | | | | | (max packet size should fit in 13 bits as a kB value, so 1<<23, plus the header which is 10 bytes), and as per mpegenc.c internal assumptions (min packet size is 20 bytes). See "[PATCH] make packet_size in AVFormatContext unsigned" thread. Originally committed as revision 19215 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fail if stream fifo could not be allocatedBaptiste Coudurier2009-05-22
| | | | Originally committed as revision 18897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* correctly check for audio streams in mpeg ps muxer, fix multiple audio tracksBaptiste Coudurier2009-05-21
| | | | Originally committed as revision 18891 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename pbBufPtr() to put_bits_ptr().Stefano Sabatini2009-04-13
| | | | | | | The new name is more readable and consistent with the FFmpeg naming style. Originally committed as revision 18497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split bitstream.h, put the bitstream writer stuff in the new fileStefano Sabatini2009-04-12
| | | | | | put_bits.h. Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorder arguments for av_fifo_generic_read to be more logical andReimar Döffinger2009-03-09
| | | | | | consistent with av_fifo_generic_write. Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.Michael Niedermayer2009-03-08
| | | | | | | Yes this breaks ABI/API but ive already broken it and will bump avutil major soon. Originally committed as revision 17869 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_Aurelien Jacobs2009-01-14
| | | | | | and remove all ENABLE_ definitions. Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vertical alignMichael Niedermayer2008-08-26
| | | | Originally committed as revision 14972 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace invocations of av_fifo_realloc(), which is going to beStefano Sabatini2008-08-19
| | | | | | deprecated, with corresponding invocations of av_fifo_realloc2(). Originally committed as revision 14848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: make all references to AC-3 capitalized and hyphenatedJustin Ruggles2008-08-03
| | | | Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-03
| | | | | | | 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
* use av_fifo_generic_write, old func is deprecatedBaptiste Coudurier2008-05-28
| | | | Originally committed as revision 13511 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that one can store X bytes in a fifo of size X.Michael Niedermayer2008-05-25
| | | | | | Fixed issue417. Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_fifo*_read() ignore the available amount of data.Michael Niedermayer2008-05-25
| | | | | | | | | | | | This is more efficient as in practice the check is redundant most of the time. Callers which do not know if enough data is available have to check it with av_fifo_size(). Doing the check in *read() means the caller has no choice to skip the check when its known to be redundant. Also the return value was never documented in a public header so changing it should not break the API. Besides this fixes the case where read() failed on a 100% full fifo. Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* init to 0, fix warning: mpegenc.c:1022: warning: 'avail_space' may be used ↵Baptiste Coudurier2008-01-31
| | | | | | uninitialized in this function Originally committed as revision 11683 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add parenthesis, fix warning: mpegenc.c:303: warning: suggest parentheses ↵Baptiste Coudurier2008-01-31
| | | | | | around && within || Originally committed as revision 11682 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-21
| | | | | | | patch by: Björn Axelsson, bjorn d axelsson a intinor d se thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007 Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* loosen dependencies over allformats.hAurelien Jacobs2007-09-16
| | | | Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert 10409Michael Niedermayer2007-09-05
| | | | | | | there is no need for put_timestamp to be exported it is not used outside the PES code Originally committed as revision 10410 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export put_timestamp()Michael Niedermayer2007-09-05
| | | | | | this will be needed for spliting the PES muxer code out Originally committed as revision 10409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove likely wrong reseting of align_iframeMichael Niedermayer2007-07-15
| | | | | | | same md5 with a short -t dvd encoding fixes streamcopy of dvd Originally committed as revision 9687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid using undefined symbols.Aurelien Jacobs2007-07-14
| | | | | | | | | This fixes the following option set: --disable-encoders --disable-decoders --disable-parsers --disable-bsfs --disable-muxers --disable-demuxers --disable-protocols --enable-muxer=mpeg1system Originally committed as revision 9650 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use allformats.hBaptiste Coudurier2007-06-21
| | | | Originally committed as revision 9384 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove now useless ifdefBaptiste Coudurier2007-06-21
| | | | Originally committed as revision 9383 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split mpeg ps and variants muxer and demuxer, I'll clean more in a few ↵Baptiste Coudurier2007-06-21
minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common Originally committed as revision 9382 to svn://svn.ffmpeg.org/ffmpeg/trunk