mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-23 16:13:29 +08: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:
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "rtpdec_formats.h"
|
||||
#include "internal.h"
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/avstring.h"
|
||||
#include "libavcodec/get_bits.h"
|
||||
|
||||
@@ -252,7 +253,8 @@ static int parse_sdp_line(AVFormatContext *s, int st_index,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int init_video(AVFormatContext *s, int st_index, PayloadContext *data)
|
||||
static av_cold int init_video(AVFormatContext *s, int st_index,
|
||||
PayloadContext *data)
|
||||
{
|
||||
if (st_index < 0)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user