summaryrefslogtreecommitdiff
path: root/libavformat
Commit message (Collapse)AuthorAge
...
| * rtpenc: Add a payload type private optionRafaël Carré2011-09-26
| | | | | | | | | | | | | | | | Specifying the payload type is useful when the type number has already been negotiated before creating the stream, for example in SIP protocol. Signed-off-by: Martin Storsjö <martin@martin.st>
| * rtp: Correct ff_rtp_get_payload_type documentationRafaël Carré2011-09-26
| | | | | | | | | | | | Since 0c378ea1f, it can't fail anymore. Signed-off-by: Martin Storsjö <martin@martin.st>
| * oggdec: add support for Xiph's CELT codecNicolas George2011-09-26
| | | | | | | | | | | | | | This patch also introduces CODEC_ID_CELT. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * sol: return error if av_get_packet() fails.Justin Ruggles2011-09-25
| | | | | | | | This prevents sending a packet with data=NULL size=AVERROR_EOF.
| * lavf: do not set codec_tag for rawvideoMans Rullgard2011-09-25
| | | | | | | | | | | | | | | | | | | | | | | | If the demuxer did not set a codec_tag, there is none and inventing one makes no sense. This change stops the rawvideo "decoder" over-writing user-supplied pixfmt with one derived from the codec_tag. The pixfmt-codec_tag-pixfmt round-trip is lossy since several pixfmts map to the same codec_tag. This fixes fate-lavf-pixfmt with avfilter disabled. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * flvdec: Check for overflow before allocating arraysMichael Niedermayer2011-09-25
| | | | | | | | | | | | | | On allocation, the array length is multiplied by sizeof(int64_t), this prevents the multiplication from overflowing. Signed-off-by: Martin Storsjö <martin@martin.st>
* | act: correct file description commentAurelien Jacobs2011-09-26
| |
* | act, bintext, wtvenc: use named struct initializersAurelien Jacobs2011-09-26
| |
* | Fix return value on EOF in mpc v8 demuxer.Laurent Aimar2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | id3v2: Fix some (function) pointer types.Reimar Döffinger2011-09-25
| | | | | | | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fixed NULL pointer dereference in id3v2 parser.Laurent Aimar2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bit: remove more unused variablesMichael Niedermayer2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bit: use AVERROR_INVALIDDATAMichael Niedermayer2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/utils: replace deprecated url_ferror.Nicolas George2011-09-25
| |
* | lavf/utils: use correct format string for int64_t.Nicolas George2011-09-25
| |
* | lavf/utils: use AV_NOWARN_DEPRECATED in compatibility code.Nicolas George2011-09-25
| |
* | bit: use explicit struct initializers.Clément Bœsch2011-09-25
| |
* | bit: remove unused variableMichael Niedermayer2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bit: set AVPacket.posMichael Niedermayer2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bit: loose seekback & wrong bitrate code.Michael Niedermayer2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bit: rewrite probeMichael Niedermayer2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bit: replace assert() by proper check.Michael Niedermayer2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bit: return AVERROR_EOF on eof.Michael Niedermayer2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | AMV video encoder.Michael Niedermayer2011-09-25
| | | | | | | | | | | | | | Authors are Vladimir Voroshilov and Dobrica Pavlinušić based on svn blame/log For full details of authorship see http://code.google.com/p/amv-codec-tools/ Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Removed debug message in the probe function of bit demuxer.Laurent Aimar2011-09-25
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: flvdec: Fix invalid pointer deferences when parsing index configure: disable hardware capabilities ELF section with suncc on Solaris x86 Use explicit struct initializers for AVCodec declarations. Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations. adpcmenc: Set bits_per_coded_sample adpcmenc: fix QT IMA ADPCM encoder adpcmdec: Fix QT IMA ADPCM decoder permit decoding of multichannel ADPCM_EA_XAS Fix input buffer size check in adpcm_ea decoder. fft: avoid a signed overflow mpegps: Handle buffer exhaustion when reading packets. Conflicts: libavcodec/adpcm.c libavcodec/adpcmenc.c libavdevice/alsa-audio-enc.c libavformat/flvdec.c libavformat/mpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * flvdec: Fix invalid pointer deferences when parsing indexLaurent Aimar2011-09-24
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.Diego Biurrun2011-09-24
| |
| * mpegps: Handle buffer exhaustion when reading packets.Alex Converse2011-09-23
| |
* | Add .bit (de)muxerVladimir Voroshilov2011-09-24
| |
* | G.729 .bit file demuxerVladimir Voroshilov2011-09-24
| |
* | act: remove AVERROR_NOFMT useage.Michael Niedermayer2011-09-24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ACT demuxerVladimir Voroshilov2011-09-24
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-24
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rtp: factorize dynamic payload type fallback flvdec: Ignore the index if it's from a creator known to be different cmdutils: move grow_array out of #if CONFIG_AVFILTER avconv: actually set InputFile.rate_emu ratecontrol: update last_qscale_for sooner Fix unnecessary shift with 9/10bit vertical scaling prores: mark prores as intra-only in libavformat/utils.c:is_intra_only() prores: return more meaningful error values prores: improve error message wording prores: cosmetics: prettyprinting, drop useless parentheses prores: lowercase AVCodec name entry Conflicts: cmdutils.c libavcodec/proresdec_lgpl.c tests/ref/lavfi/pixfmts_scale Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rtp: factorize dynamic payload type fallbackRafaël Carré2011-09-23
| | | | | | | | | | | | | | Move the identical code in rtp_write_header() and ff_sdp_write_media() inside ff_rtp_get_payload_type() Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * flvdec: Ignore the index if it's from a creator known to be differentMartin Storsjö2011-09-23
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
| * prores: mark prores as intra-only in libavformat/utils.c:is_intra_only()Diego Biurrun2011-09-23
| |
* | psxstr: improve probe to not misdetect so much.Michael Niedermayer2011-09-23
| | | | | | | | | | | | | | The score of 50 can probably be raised if needed Fixes Ticket490 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Use a colon in the stream description, this matches how -map works now.Carl Eugen Hoyos2011-09-23
| |
* | flvdec: Inject in stream extradata, into the stream.Michael Niedermayer2011-09-23
| | | | | | | | | | | | | | The code before was unsafe, had a race condition and could crash. This Fixes Ticket499 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Minor documentation clarification regarding AVStream.start_time semanticsRobert Krüger2011-09-23
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-09-23
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Add LATM demuxer avplay: flush audio decoder with empty packets at EOF if the decoder has CODEC_CAP_DELAY set. 8svx/iff: fix decoding of compressed stereo 8svx files. 8svx: log an error message if output buffer is too small 8svx: check packet size before reading the initial sample value. 8svx: output 8-bit samples instead of 16-bit. 8svx: split delta decoding into a separate function. mp4: Don't read an empty Decoder Config Descriptor fate.sh: Ignore errors from rm command during cleanup. fate.sh: Run git-pull in quiet mode to avoid console spam. Apple ProRes decoder rtmp: Make the input FLV parser handle data cut at any point rv34: Check for invalid slices offsets eval: test isnan(sqrt(-1)) instead of just sqrt(-1) Conflicts: Changelog libavcodec/8svx.c libavcodec/proresdec.c libavcodec/version.h libavformat/iff.c libavformat/version.h tests/ref/fate/eval Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add LATM demuxerJanne Grunau2011-09-22
| | | | | | | | | | This is a raw demuxer for the AAC LATM decoder and thus limited to single stream LOAS.
| * 8svx/iff: fix decoding of compressed stereo 8svx files.Justin Ruggles2011-09-22
| | | | | | | | | | | | | | | | | | | | Make the iff demuxer send the whole audio chunk to the decoder as a single packet and move stereo interleaving from the iff demuxer to the decoder. Based on a patch by Stefano Sabatini. git.videolan.org/ffmpeg.git commit e280a4da2ae6fd44f0079358ecc5aa08e388a5ed
| * mp4: Don't read an empty Decoder Config DescriptorAlex Converse2011-09-22
| |
| * rtmp: Make the input FLV parser handle data cut at any pointMartin Storsjö2011-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the RTMP writing code able to handle FLV data fed in arbitrarily small or large chunks, with multiple consecutive packets in one write call, or having the FLV packet header split over numerous write calls. When used in conjunction with the flv muxer, the AVIO buffer size still needs to be large enough to fit the initial metadata packet though, since the size of that packet is written with a seekback. Signed-off-by: Martin Storsjö <martin@martin.st>
* | matroskadec: Fix seeking for matroska files with CUES before first clusterAaron Colwell2011-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes a bug where seeking doesn't work properly for matroska files that have the CUES element before the first cluster. This bug was accidentally introduced a few months ago by my deferred CUES loading patch<http://git.videolan.org/?p=ffmpeg.git;a=commit;h=31ad14c21e0735387ba8082c6e3436241f7ccfc8> . When the CUES element appears before the first cluster in the file, the data is parsed and placed in matroska->index but that data is never added to the seek index. Currently the transfer from matroska->index to the seek index only happens when matroska_parse_cues() is called. Matroska_parse_cues() only gets called on a seek if cues_parsing_deferred is set. Cues_parsing_deferred only gets set if parsing the CUES requires seeking past the first cluster. There is no code to handle the case where CUES is before the first cluster. This fix essentially restores the matroska->index processing that was happening at the end of matroska_read_header() before I made my CUES deferral change. In the case where CUES is before the first cluster, matroska->index will have data and the seek index will be updated. In the case where CUES is later in the file, matroska->index will be empty and cues_parsing_deferred will be set so loading will happen later. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/utils: only complain about aspect missmatch when the difference is ↵Michael Niedermayer2011-09-22
| | | | | | | | | | | | "meassureable" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Support Sorenson Spark in f4v.Carl Eugen Hoyos2011-09-21
| | | | | | | | | | Such files are produced by the Flash Media Server, see samples/f4v/H263_NM_f.mp4
* | Use the parser for AC-3 in mov.Carl Eugen Hoyos2011-09-21
| | | | | | | | Fixes ticket #494.