summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Non-blocking protocol: core wrapper functionsNicolas George2011-02-05
| | | | | 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-05
| | | | | 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-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* mp3enc: write ISO8859-1 instead of UTF-16 when possibleAnton Khirnov2011-02-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* reindent after last commitPeter Ross2011-02-05
| | | | 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-05
| | | | | | | | 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-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp3: Factor out expressionAlexander Strange2011-02-05
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* cmdutils: fix codec-specific options from presetJames Zern2011-02-05
| | | | | | | | 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-05
| | | | | | 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-05
| | | | | | 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-04
| | | | | | 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-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* rtpenc_chain: Don't copy the time_base back to the callerMartin Storsjö2011-02-04
| | | | | | | | 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-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add an APIchanges entry for avformat_free_contextMartin Storsjö2011-02-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* libavformat: Add a function for freeing an AVFormatContextMartin Storsjö2011-02-04
| | | | | | | 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-04
| | | | | | | | | | | | | 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-04
|
* VP8: faster deblock strength calculationJason Garrett-Glaser2011-02-04
| | | | Convert hev_thresh logic to a LUT, simplify mbedge_lim calculation.
* Remove forgotten if (p) av_free(p) formsClément Bœsch2011-02-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* VP8: faster filter_level clipJason Garrett-Glaser2011-02-03
|
* VP8: simplify lf_delta mb mode logicJason Garrett-Glaser2011-02-03
|
* Make avfilter_graph_free() free the graph.Stefano Sabatini2011-02-04
| | | | | | | | | | 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-04
| | | | | | | | | | | 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-03
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* TCP: factor the poll() callNicolas George2011-02-03
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* wtv: filesystem implementationPeter Ross2011-02-03
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* tty.c: rename PKT_FLAG_KEY to AV_PKT_FLAG_KEY.Anton Khirnov2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Rename remaining occurrences of SAMPLE_FMT_* to AV_SAMPLE_FMT_*Anton Khirnov2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace remaining occurrences of CODEC_TYPE_* with AVMEDIA_TYPE*Anton Khirnov2011-02-03
| | | | | | Tested to compile with lavc major bump. Signed-off-by: Mans Rullgard <mans@mansr.com>
* sapenc: Free AVStream->info on cleanupMartin Storsjö2011-02-03
| | | | | | 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-03
| | | | | | | | | 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-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add APIchanges entry for lavc 52.109.0Tomas Härdin2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add CODEC_ID_PRORES and bump lavc minor versionTomas Härdin2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add AVC-Intra identifiers used by Flip4Mac for mov filesBenjamin Larsson2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove a few if (p) av_free(p) formsClément Bœsch2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Avoid pointless check before calling freeClément Bœsch2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Set pkt_pts in avcodec_default_reget_buffer()Nicolas George2011-02-03
| | | | | | | This was missed when pkt_pts was first added. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Mans Rullgard <mans@mansr.com>
* Free AVStream->info in chained muxersMartin Storsjö2011-02-03
| | | | | | | This fixes memory leaks in the RTSP muxer and RTP hinting in the mov muxer present since SVN rev 25418. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtsp: Don't store RTSPStream in AVStream->priv_dataMartin Storsjö2011-02-03
| | | | | | | | | | | | | | | | For mpegts in RTP, there isn't a direct mapping between RTSPStreams and AVStreams, and the RTSPStream isn't ever stored in AVStream->priv_data, which was earlier leaked. The fix for this leak, in ea7f080749d68a431226ce196014da38761a0d82, lead to double frees for other, normal RTP streams. This patch avoids storing RTSPStreams in AVStream->priv_data, thus avoiding the double free. The RTSPStreams are always available via RTSPState->rtsp_streams anyway. Tested with MS-RTSP, RealRTSP, DSS and mpegts/RTP. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* ffmpeg.c: rename map_meta_data option to map_metadataAnton Khirnov2011-02-02
| | | | | | It's consistent with the -metadata option and easier to write. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* Add forgotten minor API bumps and APIChanges entriesAnton Khirnov2011-02-02
| | | | | | | The bumps are for adding version.h and avio_{get/put}_str functions in lavf and making av_dlog public in lavu. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
* ac3enc: Change EXP_DIFF_THRESHOLD to 500.Justin Ruggles2011-02-02
| | | | | | | | | This patch changes the exponent difference threshold in the exponent strategy decision function of the AC-3 encoder. I tested lowering in increments of 100. From 1000 down to 500 generally increased in quality with each step, but 400 was generally much worse. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Log debug information in filter_samples().Stefano Sabatini2011-02-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ffplay: factorize code from video_thread() into configure_video_filters()Stefano Sabatini2011-02-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: add helper macro for declaring constant dataMans Rullgard2011-02-02
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Separate format conversion DSP functions from DSPContext.Justin Ruggles2011-02-02
| | | | | | | This will be beneficial for use with the audio conversion API without requiring it to depend on all of dsputil. Signed-off-by: Mans Rullgard <mans@mansr.com>