Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-16avpacket: Fix error checking in packet_allocMartin Storsjö
Previously the wrong buffer pointer was checked, when buf instead of *buf was checked. But checking the return value instead is even better. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-10lavc: Add refcounted api to AVPacketLuca Barbato
Provide a clean way to manipulate packets.
2013-08-02Disable deprecation warnings for cases where a replacement is availableDiego Biurrun
2013-03-13avpacket: copy side data type and size in av_dup_packetJanne Grunau
2013-03-08avpacket: use AVBuffer to allow refcounting the packets.Anton Khirnov
This will allow us to avoid copying the packets in many cases. This breaks ABI.
2013-01-13avpacket: free side data in av_free_packet().Anton Khirnov
Freeing it in av_destruct_packet(), as is done currently, would mean that we allow it to be allocated with other means. But that would make av_packet_new_side_data() unsafe. Side data is not expected to be large, so copying it if required shouldn't be a problem.
2012-09-15libavcodec: remove av_destruct_packet_nofree()Mans Rullgard
This function was deprecated two major versions ago (2009). Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-08-15Don't include common.h from avutil.hMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-06-03avpacket: fix duplicating side data.Anton Khirnov
Use correct side data size instead of just zeroed field.
2012-04-12avpacket, bfi, bgmc, rawenc: K&R prettyprinting cosmeticsDiego Biurrun
2012-03-01avpacket: Add a function for shrinking already allocated side dataMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-04-15make av_dup_packet() more cautious on allocation failuresKostya Shishkov
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-04-15introduce side information for AVPacketKostya Shishkov
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2010-11-21Add a av_grow_packet function, to be used by code that mergesReimar Döffinger
palette and video data packets to get rid of PaletteControl. Originally committed as revision 25776 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-12indentMichael Niedermayer
Originally committed as revision 20802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-12-12Make sure av_new_packet() initializes the data and destruct pointers.Michael Niedermayer
Some code does call av_free_packet() on failed av_new_packets(), this prevents the freeing of uninitialized pointers. Originally committed as revision 20801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-30Export av_free_packet().Ramiro Polla
Originally committed as revision 18719 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-11Get rid of av_destruct_packet_nofree and use NULL instead.Reimar Döffinger
It is still used in comparisons to keep ABI compatibility. Originally committed as revision 18431 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-09Add av_shrink_packet function for use in av_get_packet that reduces pkt->sizeReimar Döffinger
and ensures the following padding is correctly initialized to 0. Originally committed as revision 18378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-07Move av_packet_*() functions from libavformat/ to libavcodec/, where theThilo Borgmann
AVPacket structure now resides also. Patch by Thilo Borgmann thilo.borgmann googlemail com, see the mailinglist thread "Google Summer of Code participation" for additional discussion. Originally committed as revision 18353 to svn://svn.ffmpeg.org/ffmpeg/trunk