You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
Merge commit '7abd35a1ffaecfd79fa07b801621ee11ab595c43'
* commit '7abd35a1ffaecfd79fa07b801621ee11ab595c43': avformat: Add av_cold attributes to init functions missing them Conflicts: libavformat/rtpdec_xiph.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "mpegts.h"
|
||||
#include "rtpdec_formats.h"
|
||||
|
||||
@@ -43,7 +44,8 @@ static void mpegts_free_context(PayloadContext *data)
|
||||
av_free(data);
|
||||
}
|
||||
|
||||
static int mpegts_init(AVFormatContext *ctx, int st_index, PayloadContext *data)
|
||||
static av_cold int mpegts_init(AVFormatContext *ctx, int st_index,
|
||||
PayloadContext *data)
|
||||
{
|
||||
data->ts = ff_mpegts_parse_open(ctx);
|
||||
if (!data->ts)
|
||||
|
||||
Reference in New Issue
Block a user