mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
avcodec: Add av_cold attributes to init functions missing them
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
* @author Michael Niedermayer <michaelni@gmx.at>
|
||||
*/
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "parser.h"
|
||||
#include "h264data.h"
|
||||
#include "golomb.h"
|
||||
@@ -333,7 +334,7 @@ static void close(AVCodecParserContext *s)
|
||||
ff_h264_free_context(h);
|
||||
}
|
||||
|
||||
static int init(AVCodecParserContext *s)
|
||||
static av_cold int init(AVCodecParserContext *s)
|
||||
{
|
||||
H264Context *h = s->priv_data;
|
||||
h->thread_context[0] = h;
|
||||
|
||||
Reference in New Issue
Block a user