summaryrefslogtreecommitdiff
path: root/libavformat/mxfdec.c
Commit message (Collapse)AuthorAge
* mxfdec: Fix some buffer overreads caused by the misuse of AVPacket related ↵Alex Converse2011-10-10
| | | | functions.
* mxfdec: Include FF_INPUT_BUFFER_PADDING_SIZE when allocating extradata.Alex Converse2011-07-29
| | | | This prevents out of bounds reads when extradata is being decoded.
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Employ correct printf format specifiers, mostly in debug output.Diego Biurrun2011-05-31
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes senseAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: deprecate url_feofAnton Khirnov2011-03-07
| | | | | | AVIOContext.eof_reached should be used directly instead. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: replace all uses of url_fskip with avio_seekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefix for url_fseekAnton Khirnov2011-03-01
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | | | In the name of consistency: get_byte -> avio_r8 get_<type> -> avio_r<type> get_buffer -> avio_read get_partial_buffer will be made private later get_strz is left out becase I want to change it later to return something useful. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Replace dprintf with av_dlogLuca Barbato2011-01-29
| | | | dprintf clashes with POSIX.1-2008
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* Zero-initialize structs/arrays with {0} instead of {}, which isn't proper C99Axel Holzinger2010-07-21
| | | | | | Patch by Axel Holzinger, aholzinger at gmx dot de Originally committed as revision 24391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change all functions referenced in the mxf_metadata_read_table to use the sameReimar Döffinger2010-07-01
| | | | | | | | | | prototype and also always call them with exactly those arguments. The previous way seems to have worked on all supported platforms, however it was not strictly valid C and would crash e.g. with a compiler that uses stdcall by default. Also avoids warnings if -Wstrict-prototypes is used. Originally committed as revision 23939 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mxfdec: Improve parsing of the PixelLayout itemTomas Härdin2010-06-30
| | | | Originally committed as revision 23898 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do D10 AES3 audio conversion in-place instead of using a large on-stack buffer.Reimar Döffinger2009-11-20
| | | | Originally committed as revision 20567 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MXF: simply ignore tracks that are invalid due to not having a valid SequenceReimar Döffinger2009-10-13
| | | | | | | part instead of failing completely. This partly fixes issue 1470 (broken files created by BBC ingex recorder). Originally committed as revision 20221 to svn://svn.ffmpeg.org/ffmpeg/trunk
* return AVERROR_EOFBaptiste Coudurier2009-05-30
| | | | Originally committed as revision 18993 to svn://svn.ffmpeg.org/ffmpeg/trunk
* free Track and unset priv_data to avoid double free, fix memleakBaptiste Coudurier2009-05-15
| | | | Originally committed as revision 18836 to svn://svn.ffmpeg.org/ffmpeg/trunk
* protect realloc overflowBaptiste Coudurier2009-03-21
| | | | Originally committed as revision 18088 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reuse MXFCodecUL for data def and simplifyBaptiste Coudurier2009-02-08
| | | | Originally committed as revision 17042 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove implicit header inclusions from mxf.hBaptiste Coudurier2009-02-08
| | | | Originally committed as revision 17041 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
* use lower case x and alternate format for hex in printfBaptiste Coudurier2009-01-08
| | | | Originally committed as revision 16494 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print more debug information if enabled, including indexBaptiste Coudurier2009-01-08
| | | | Originally committed as revision 16493 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove offset_t typedef and use int64_t directly instead.Diego Biurrun2008-10-03
| | | | | | | The name offset_t is easily confused with the standard off_t type and *_t is POSIX reserved namespace if any POSIX header is included. Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r14983, value is not sample aspect ratio, it is display aspect ratioBaptiste Coudurier2008-09-17
| | | | Originally committed as revision 15352 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print stream index in decimal not in hex, easier for debuggingBaptiste Coudurier2008-09-09
| | | | Originally committed as revision 15279 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-08
| | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* put back mxf_essence_container_uls in demuxer as static constBaptiste Coudurier2008-08-31
| | | | Originally committed as revision 15083 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mxfdec: set sample_aspect_ratioAurelien Jacobs2008-08-26
| | | | Originally committed as revision 14983 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless #ifdef DEBUG (patch by Zhentan Feng).Zhentan Feng2008-08-19
| | | | Originally committed as revision 14853 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize common code out of the mxf demuxer.Zhentan Feng2008-08-18
| | | | | | Patch by zhentan feng. Originally committed as revision 14826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename mxf.c to mxfdec.cBaptiste Coudurier2008-08-07
Originally committed as revision 14655 to svn://svn.ffmpeg.org/ffmpeg/trunk