summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Xan4 decoderKostya Shishkov2011-02-076-2/+435
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* matroskadec: add generic element length validation.Reimar Döffinger2011-02-061-0/+17
| | | | | | | | | | | | This validate the length of a mkv element directly after reading it. This has the advantage that it is easy to add new limits and makes it less likely to forget to add checks and also avoids issues like bits of the length value above the first 32 being ignored because the parsing functions only takes an int. Previously discussed in the "mkv 0-byte integer parsing" thread. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Fix compile warning.Ronald S. Bultje2011-02-061-1/+1
| | | | | Change int64_t into a int, which caused this compiler warning: libavformat/oggparseskeleton.c:64: warning: passing argument 2 of ‘av_reduce’ from incompatible pointer type
* avidec: simplify read_gab2_subAnton Khirnov2011-02-061-22/+16
| | | | | | | | | | Use avio functions instead of bytestream ones (also drops dependency on lavc and removes a bunch of warnings). Drop custom version of avio_get_str16 and use that instead. Tested on mewmew-ssa.avi sample. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavf: move internal functions from avformat.h to internal.hAnton Khirnov2011-02-065-25/+24
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Make av_set_pts_info keep previous time base if new one is invalid.Reimar Döffinger2011-02-062-8/+12
| | | | | | Fixes issue 2475. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Always use av_set_pts_info to set the stream time base.Reimar Döffinger2011-02-068-16/+12
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* pass QDMC extradata to the decoderSascha Sommer2011-02-063-2/+4
| | | | | | | Makes playing QDMC files in MPlayer work when using the libavformat demuxer. Problem was that the extradata was not passed from demuxer to decoder. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* configure: check yasm/nasm for working pextrd opcodeAnssi Hannula2011-02-061-1/+1
| | | | | | | | | | NASM versions older than 2.08 fail to build ffmpeg with several "error: operation size not specified" errors but this is not caught in configure. Fix that by checking if "pextrd [eax], xmm0, 1" works in configure. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Make inter_rvlc and intra_rvlc static tables.Diego Elio Pettenò2011-02-062-5/+2
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Fill in missing date.Ronald S. Bultje2011-02-061-1/+1
|
* Update MINOR and set git rev for non-blocking flag API addition.Ronald S. Bultje2011-02-062-2/+2
|
* Replace remaining occurrences of deprecated CH_* with AV_CH_*Anton Khirnov2011-02-0614-21/+34
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Non-blocking protocol: TCPNicolas George2011-02-051-36/+11
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Non-blocking protocol: core wrapper functionsNicolas George2011-02-052-14/+19
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Non-blocking protocols: flag and documentationNicolas George2011-02-052-3/+29
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Set channel_layout for mpegaudioKieran Kunhya2011-02-051-0/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mp3enc: write ISO8859-1 instead of UTF-16 when possibleAnton Khirnov2011-02-051-0/+12
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* reindent after last commitPeter Ross2011-02-051-8/+8
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: do not use flag in stream_guid chunk to determine if stream is valid, ↵Peter Ross2011-02-051-6/+2
| | | | | | | | as this method is unreliable This fixes roundup issue 2556. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp3: Move table allocation code into a new functionAlexander Strange2011-02-051-23/+33
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp3: Factor out expressionAlexander Strange2011-02-051-4/+5
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cmdutils: fix codec-specific options from presetJames Zern2011-02-051-2/+10
| | | | | | | | Using a preset file caused the address of a stack variable to be stored in opt_names/values. This change causes the strings to be dup'd then freed in uninit_opts. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cmdutils: fix opt_values leakJames Zern2011-02-052-1/+2
| | | | | | Add free to uninit_opts and relocate opt_names to same Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Adopt pkt_dts/pkt_pts in lavc clientsAlexander Strange2011-02-052-4/+5
| | | | | | No behavior change; this makes DTS reliable with the next patch. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* applehttp: Handle absolute paths relative to the current serverMartin Storsjö2011-02-041-0/+14
| | | | | | This fixes roundup issue 2583. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* movenchint: Use rtpenc_chain for setting up the chained RTP muxerMartin Storsjö2011-02-042-33/+5
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rtpenc_chain: Don't copy the time_base back to the callerMartin Storsjö2011-02-041-2/+0
| | | | | | | | If required, the caller can do this itself. ff_write_chained rescales timestamps as necessary, and all current callers of rtpenc_chain use ff_write_chained, making this timebase copy unnecessary. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Use avformat_free_context for cleaning up muxersMartin Storsjö2011-02-045-51/+7
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add an APIchanges entry for avformat_free_contextMartin Storsjö2011-02-041-0/+3
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libavformat: Add a function for freeing an AVFormatContextMartin Storsjö2011-02-043-6/+17
| | | | | | | This function is useful for freeing data structures allocated by muxers, which currently have to be freed manually by the caller. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libavformat: Use avcodec_copy_context for chained muxersMartin Storsjö2011-02-044-9/+12
| | | | | | | | | | | | | This avoids having the chained AVStream->codec point to the same AVCodecContext owned by the outer AVStream. The downside is that changes to the AVCodecContext made after calling av_write_header cannot be detected automatically within the chained muxer. This avoids having to manually unlink the chained AVStream->codec by setting it to null before freeing the chained muxer via generic freeing functions. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* VP8: slightly faster loopfilter sharpness logicJason Garrett-Glaser2011-02-041-1/+1
|
* VP8: faster deblock strength calculationJason Garrett-Glaser2011-02-041-14/+15
| | | | Convert hev_thresh logic to a LUT, simplify mbedge_lim calculation.
* Remove forgotten if (p) av_free(p) formsClément Bœsch2011-02-042-3/+2
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-043-5/+3
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* VP8: faster filter_level clipJason Garrett-Glaser2011-02-031-1/+4
|
* VP8: simplify lf_delta mb mode logicJason Garrett-Glaser2011-02-032-29/+13
|
* Make avfilter_graph_free() free the graph.Stefano Sabatini2011-02-044-14/+12
| | | | | | | | | | Make avfilter_graph_free() free not only the internal structures, but also the allocated graph, and set the graph pointer to NULL for increased safety. Simplify usage. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Make avfilter_graph_parse() not free the input graphStefano Sabatini2011-02-041-1/+3
| | | | | | | | | | | Make avfilter_graph_parse() only release the internal structures allocated during the parsing, and leave to free the graph itself to the calling code. This approach looks cleaner, as the graph is not allocated by the function. Signed-off-by: Mans Rullgard <mans@mansr.com>
* add ff_index_search_timestamp and ff_add_index_entryPeter Ross2011-02-033-15/+45
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* TCP: factor the poll() callNicolas George2011-02-031-10/+18
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: filesystem implementationPeter Ross2011-02-031-78/+564
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* tty.c: rename PKT_FLAG_KEY to AV_PKT_FLAG_KEY.Anton Khirnov2011-02-031-1/+1
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Rename remaining occurrences of SAMPLE_FMT_* to AV_SAMPLE_FMT_*Anton Khirnov2011-02-031-2/+2
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace remaining occurrences of CODEC_TYPE_* with AVMEDIA_TYPE*Anton Khirnov2011-02-035-10/+10
| | | | | | Tested to compile with lavc major bump. Signed-off-by: Mans Rullgard <mans@mansr.com>
* sapenc: Free AVStream->info on cleanupMartin Storsjö2011-02-031-0/+1
| | | | | | This fixes yet another memory leak, present since SVN rev 25418. Signed-off-by: Mans Rullgard <mans@mansr.com>
* rtmpproto: rename URLContext* argument in rtmp_write()Anton Khirnov2011-02-031-2/+2
| | | | | | | | | Now the first argument is URLContext *h. However, the function logs to LOG_CONTEXT, which is #defined as 's' for new lavf major versions. Therefore, rename h -> s. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ProRes FOURCCs to isom.cTomas Härdin2011-02-031-0/+6
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add APIchanges entry for lavc 52.109.0Tomas Härdin2011-02-031-0/+3
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
OpenPOWER on IntegriCloud