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
2019-12-12avformat: Forward errors where possibleAndreas Rheinhardt
It is not uncommon to find code where the caller thinks to know better what the return value should be than the callee. E.g. something like "if (av_new_packet(pkt, size) < 0) return AVERROR(ENOMEM);". This commit changes several instances of this to instead forward the actual error. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-02-14lavf/rtpdec*: Constify all RTPDynamicProtocolHandler.Carl Eugen Hoyos
Reviewed-by: Muhammad Faiz
2015-11-18avformat/rtpdec_mpa_robust: change assignment to inequality test in conditionalGanesh Ajjanagadde
In the spirit of commit 8199908fdf9b3797cceaea9d1e2fc09d02ef7309, likely typo originally. Found by enabling -Wparentheses on clang 3.7 and running a manual audit. To the best of my knowledge, no such instances remain. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-10-27Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes
* commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-10-26avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato
`av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
2015-03-04Merge commit '2a66a580678dd9401f4d95e01e0958ca51864b6f'Michael Niedermayer
* commit '2a66a580678dd9401f4d95e01e0958ca51864b6f': rtpdec_mpa_robust: Fix incrementing split_pos Conflicts: libavformat/rtpdec_mpa_robust.c See: ebf1f512e9916040dd96fa9f789ed4be5a39c349 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-04rtpdec_mpa_robust: Fix incrementing split_posMartin Storsjö
This fixes an oversight in 96084251, in a refactoring done on top of Gilles' original patch. Pointed out by Gilles Chanteperdrix. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-03-02avformat/rtpdec_mpa_robust: fix commit 96084251e57d1738fde02a2b0d37ca609d9efd71Gilles Chanteperdrix
Commit 96084251e57d1738fde02a2b0d37ca609d9efd71 introduced a change in the parser implementation which broke it. Restore the original implementation. Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-25Merge commit 'd594dbecce5f3af7f80bbf5bb1b516d740b69ccd'Michael Niedermayer
* commit 'd594dbecce5f3af7f80bbf5bb1b516d740b69ccd': rtpdec: Rename the free method to close Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-25Merge commit '199fb40278146c5bb162990c66ad3cd561abc780'Michael Niedermayer
* commit '199fb40278146c5bb162990c66ad3cd561abc780': rtpdec: Use ffio_free_dyn_buf Conflicts: libavformat/rtpdec_latm.c libavformat/rtpdec_svq3.c libavformat/rtpdec_xiph.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-25Merge commit 'bb4a310bb85f43e62240145a656b1e5285b14239'Michael Niedermayer
* commit 'bb4a310bb85f43e62240145a656b1e5285b14239': rtpdec: Don't free the payload context in the .free function Conflicts: libavformat/rtpdec_latm.c libavformat/rtpdec_mpeg4.c libavformat/rtpdec_mpegts.c libavformat/rtpdec_xiph.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-25Merge commit '88434f9725e7c9484dcbcf323566ae88a2904f32'Michael Niedermayer
* commit '88434f9725e7c9484dcbcf323566ae88a2904f32': rtpdec: Remove unnecessary inline attributes Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-25Merge commit '5d8cae45737bed6239bd6b6e0698802dbe1463c8'Michael Niedermayer
* commit '5d8cae45737bed6239bd6b6e0698802dbe1463c8': rtpdec: Get rid of all trivial .alloc/.free functions Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-25Merge commit '2b982e92f42a6e661d90b12b6592cd13cae496d4'Michael Niedermayer
* commit '2b982e92f42a6e661d90b12b6592cd13cae496d4': rtpdec: Set need_parsing via a handler field Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-25Merge commit 'b651c9139e1ab222d5aab9151dcd7d6e40e49885'Michael Niedermayer
* commit 'b651c9139e1ab222d5aab9151dcd7d6e40e49885': rtpdec_mpa_robust: Move .enc_name to the start of the struct Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-25rtpdec: Rename the free method to closeMartin Storsjö
Many of these functions were named foo_free_context, and since the functions no longer should free the context itself, only allocated elements within it, the previous naming was slightly misleading. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-25rtpdec: Use ffio_free_dyn_bufMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-25rtpdec: Don't free the payload context in the .free functionMartin Storsjö
This makes it more consistent with depacketizers that don't have any .free function at all, where the payload context is freed by the surrounding framework. Always free the context in the surrounding framework, having the individual depacketizers only free any data they've specifically allocated themselves. This is similar to how this works for demuxer/muxers/codecs - a component shouldn't free the priv_data that the framework has allocated for it. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-25rtpdec: Remove unnecessary inline attributesMartin Storsjö
These functions are far from performance critical, so there's no point in marking them as inline. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-24rtpdec: Get rid of all trivial .alloc/.free functionsMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-24rtpdec: Set need_parsing via a handler fieldMartin Storsjö
This avoids implementing a full function just to set this one field. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-24rtpdec_mpa_robust: Move .enc_name to the start of the structMartin Storsjö
This makes it match the other depacketizers. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-02-22Merge commit '96084251e57d1738fde02a2b0d37ca609d9efd71'Michael Niedermayer
* commit '96084251e57d1738fde02a2b0d37ca609d9efd71': libavformat: add robust MPEG audio depacketization (RFC 5219) Conflicts: Changelog libavformat/version.h See: 22470510d1f9441e848bbe107c7963b6d492b47f Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-22libavformat: add robust MPEG audio depacketization (RFC 5219)Gilles Chanteperdrix
Signed-off-by: Martin Storsjö <martin@martin.st>