summaryrefslogtreecommitdiff
path: root/libavcodec/bytestream.h
Commit message (Collapse)AuthorAge
* bytestream2: set the reader to the end when reading more than availableAnton Khirnov2015-07-12
| | | | | | | | This prevents possible infinite loops with the calling code along the lines of while (bytestream2_get_bytes_left()) { ... }, where the reader does not advance. CC: libav-stable@libav.org
* bytestream: add bytestream2_copy_buffer() functionsJustin Ruggles2014-04-12
| | | | | | | This is basically an overread/overwrite-safe memcpy between a GetByteContext and a PutByteContext. CC:libav-stable@libav.org
* bytestream: add functions for accessing size of bufferPaul B Mahol2014-04-12
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> CC:libav-stable@libav.org
* Give all anonymously typedeffed structs in headers a nameDiego Biurrun2012-10-06
| | | | Anonymous structs cannot be forward declared and have no benefit.
* bytestream: Eliminate one level of pointless macro indirection.Diego Biurrun2012-03-18
|
* bytestream: add more unchecked variants for bytestream2 APIPaul B Mahol2012-03-14
| | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* bytestream: K&R formatting cosmeticsAneesh Dogra2012-02-09
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* bytestream: Add bytestream2 writing API.Aneesh Dogra2012-02-06
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* sgidec: Use bytestream2 functions to prevent buffer overreads.Aneesh Dogra2012-01-14
| | | | | | The patch also adds several bytestream macros to deal with native endian. Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* add bytestream2_tell() and bytestream2_seek() functionsJustin Ruggles2012-01-05
|
* ulti: convert to new bytestream API.Ronald S. Bultje2012-01-04
|
* bytestream: add a new set of bytestream functions with overread checkingAneesh Dogra2011-12-20
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Directly #include some required headers.Diego Biurrun2009-01-25
| | | | Originally committed as revision 16780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix build: Add intreadwrite.h and bswap.h #includes where necessary.Diego Biurrun2009-01-11
| | | | Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-31
| | | | | | | | | Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_". Originally committed as revision 15120 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
* constsMichael Niedermayer2008-02-01
| | | | | | I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
* whitespace cosmeticsMåns Rullgård2007-07-07
| | | | Originally committed as revision 9524 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add 64-bit bytestream read/write functionsMåns Rullgård2007-07-07
| | | | Originally committed as revision 9523 to svn://svn.ffmpeg.org/ffmpeg/trunk
* include all prerequisites in header filesMåns Rullgård2007-06-16
| | | | Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unneeded semicolon.Panagiotis Issaris2007-06-15
| | | | Originally committed as revision 9316 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add little endian 24bit read/writeAlex Beregszaszi2007-03-06
| | | | Originally committed as revision 8270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add bytestream_get/put_be24 functionsBaptiste Coudurier2007-03-04
| | | | Originally committed as revision 8217 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify and remove useless index in AV_W*Michael Niedermayer2007-02-06
| | | | Originally committed as revision 7852 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename BE/LE_8/16/32 to AV_RL/B_8/16/32Alex Beregszaszi2007-01-19
| | | | Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename always_inline to av_always_inline and move to common.hMåns Rullgård2006-12-08
| | | | Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add bytestream big endian 16/32 writing functionsBaptiste Coudurier2006-12-01
| | | | Originally committed as revision 7200 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change gif muxer to simple gif encoderBaptiste Coudurier2006-11-02
| | | | Originally committed as revision 6874 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change gif demuxer to gif decoderBaptiste Coudurier2006-10-22
Originally committed as revision 6760 to svn://svn.ffmpeg.org/ffmpeg/trunk