summaryrefslogtreecommitdiff
path: root/libavformat/dv.c
Commit message (Collapse)AuthorAge
* [dv] Check return value of avio_seek and avoid modifying state if it failsJoakim Plate2011-09-14
|
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: ffmpeg: fix some indentation ffmpeg: fix operation with --disable-avfilter simple_idct: remove disabled code motion_est: remove disabled code vc1: remove disabled code fate: separate lavf-mxf_d10 test from lavf-mxf cabac: Move code only used in the cabac test program to cabac.c. ffplay: warn that -pix_fmt is no longer working, suggest alternative ffplay: warn that -s is no longer working, suggest alternative lavf: rename enc variable in utils.c:has_codec_parameters() lavf: use designated initialisers for all (de)muxers. wav: remove a use of deprecated AV_METADATA_ macro rmdec: remove useless ap parameter from rm_read_header_old() dct-test: remove write-only variable des: fix #if conditional around P_shuffle Use LOCAL_ALIGNED in ff_check_alignment() Conflicts: ffmpeg.c libavformat/avidec.c libavformat/matroskaenc.c libavformat/mp3enc.c libavformat/oggenc.c libavformat/utils.c tests/ref/lavf/mxf Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | | | | | It's more readable and less prone to breakage.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-04
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (40 commits) H.264: template left MB handling H.264: faster fill_decode_caches H.264: faster write_back_* H.264: faster fill_filter_caches H.264: make filter_mb_fast support the case of unavailable top mb Do not include log.h in avutil.h Do not include pixfmt.h in avutil.h Do not include rational.h in avutil.h Do not include mathematics.h in avutil.h Do not include intfloat_readwrite.h in avutil.h Remove return statements following infinite loops without break RTSP: Doxygen comment cleanup doxygen: Escape '\' in Doxygen documentation. md5: cosmetics md5: use AV_WL32 to write result md5: add fate test md5: include correct headers md5: fix test program doxygen: Drop array size declarations from Doxygen parameter names. doxygen: Fix parameter names to match the function prototypes. ... Conflicts: libavcodec/x86/dsputil_mmx.c libavformat/flvenc.c libavformat/oggenc.c libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.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: avio_ prefix for url_fsizeAnton Khirnov2011-03-07
| | | | | | | | 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>
| * 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>
| * 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.
* | Make DV (sub) demuxer set proper pkt->pos values.Reimar Döffinger2011-05-02
| | | | | | | | | | This makes the avi demuxer create packets with proper pos values with the file from ticket #140.
* | avio: avio_ prefix for url_fsizeAnton Khirnov2011-03-08
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 76aa876e69cf78a40821e66dec0a1006e4eb23ec)
* | avio: add avio_tell macro as a replacement for url_ftellAnton Khirnov2011-03-05
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit a2704c9712ad35cc22e7e0d8a79b581c07fa383b)
* | avio: avio_ prefix for url_fseekAnton Khirnov2011-03-03
| | | | | | | | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 6b4aa5dac8f41aa452d0ce9a1bede9e59a303060)
* | avio: avio_ prefixes for get_* functionsAnton Khirnov2011-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> (cherry picked from commit b7effd4e8338f6ed5bda630ad7ed0809bf458648)
* | Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-28
|/ | | | | | 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. (cherry picked from commit c6610a216ed2948885772154a2eed696e0cb4aca)
* DV: use data_offset to fix seeking in badly cut files where the firstReimar Döffinger2010-11-27
| | | | | | complete frame does not start at position 0. Originally committed as revision 25833 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-31
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 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
* Fix seeking in DV when filesize is unknown.Tomas Härdin2010-03-23
| | | | | | Patch by Tomas Härdin, tomas D hardin A codemill D se Originally committed as revision 22645 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split parts of dvdata.h into dvdata.c, this ensures that things likeReimar Döffinger2009-10-16
| | | | | | | | work_chunks_* and dv_idct_factor_* variables appear only once in the binary instead of 3 times. Saves 3264 bytes in .rodata and 312416 bytes in .bss on x86_64. Originally committed as revision 20246 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend DV autodetection to also reliably detect single-frame DVs withReimar Döffinger2009-09-29
| | | | | | | | | a higher score that MAX/4. It checks that there are at least 10 DIF headers and at least one per 24000 bytes, and if so considers the file reliably detected as DV. Passes probetest, too. Originally committed as revision 20074 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try harder to avoid false positives for DV probe.Reimar Döffinger2009-09-14
| | | | | | | | Require at least one signature match per provided 1MB of probe data, and if there is only a single match, return at most MAX/4. Fixes issue1382 but could/should probably still be improved. Originally committed as revision 19848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix dvcprohd 720p channels 3 and 4 audio timestamps, patch by Brian Brice, ↵Brian Brice2009-06-19
| | | | | | bbrice at gmail dot com Originally committed as revision 19228 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix probing and demuxing of pond.dv, issue #887Baptiste Coudurier2009-06-15
| | | | Originally committed as revision 19197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check if frame size matches old sys and assumes corrupted input, fixes #1192Baptiste Coudurier2009-06-14
| | | | Originally committed as revision 19192 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dv probeBaptiste Coudurier2009-02-26
| | | | Originally committed as revision 17607 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support playback of incorrectly cut DV files where the headers do notReimar Döffinger2009-02-22
| | | | | | start at the first byte. Originally committed as revision 17519 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
* 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
* additional recovery for the badly broken streamsRoman Shaposhnik2009-01-05
| | | | Originally committed as revision 16438 to svn://svn.ffmpeg.org/ffmpeg/trunk
* prettyprinting cosmeticsDiego Biurrun2008-10-24
| | | | Originally committed as revision 15682 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling cosmeticsDiego Biurrun2008-10-24
| | | | Originally committed as revision 15681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make gcc 2.95 happy.Michael Niedermayer2008-10-08
| | | | Originally committed as revision 15589 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replacing frame_rate and frame_rate_base with an AVRational time_baseRoman Shaposhnik2008-10-07
| | | | Originally committed as revision 15584 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifying code as per Michael's suggestionRoman Shaposhnik2008-10-07
| | | | Originally committed as revision 15583 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifying the code as per Michael's suggestionRoman Shaposhnik2008-10-07
| | | | Originally committed as revision 15577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling cosmeticsDiego Biurrun2008-10-02
| | | | Originally committed as revision 15518 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Intial implementation of the DV100 (AKA DVCPRO HD) decoder and demuxer asRoman Shaposhnik2008-08-28
| | | | | | specified in SMPTE 370M Originally committed as revision 15010 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Two cosmetic changes for improved readability and ease of HDVCPRO HD integrationRoman Shaposhnik2008-08-27
| | | | Originally committed as revision 14999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* convert every muxer/demuxer to write/read sample_aspect_ratio from/toAurelien Jacobs2008-08-23
| | | | | | the corresponding AVStream instead of AVCodecContext Originally committed as revision 14933 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 full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unnecessary parentheses from return calls.Diego Biurrun2008-05-06
| | | | Originally committed as revision 13069 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
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * clarifying the AVInputFormat::read_seek return valueMaksym Veremeyenko2007-06-25
| | | | | | | * changing dv_read_seek() to return the proper value (patch by Maksym Veremeyenko) Originally committed as revision 9418 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * Fixing seeking with DV-AVI (by Jeff Downs <heydowns at borg dot com>)Roman Shaposhnik2007-01-11
| | | | Originally committed as revision 7439 to svn://svn.ffmpeg.org/ffmpeg/trunk