avcodec: Add av_cold attributes to init functions missing them
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
//#define DEBUG
|
||||
#include <limits.h>
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/mathematics.h"
|
||||
#include "avcodec.h"
|
||||
@@ -101,7 +102,7 @@ static VLC cbpc_b_vlc;
|
||||
/* init vlcs */
|
||||
|
||||
/* XXX: find a better solution to handle static init */
|
||||
void ff_h263_decode_init_vlc(void)
|
||||
av_cold void ff_h263_decode_init_vlc(void)
|
||||
{
|
||||
static int done = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user