avcodec: Add av_cold attributes to init functions missing them
This commit is contained in:
@@ -23,8 +23,9 @@
|
||||
* function definitions common to libschroedinger decoder and encoder
|
||||
*/
|
||||
|
||||
#include "libschroedinger.h"
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/mem.h"
|
||||
#include "libschroedinger.h"
|
||||
|
||||
static const SchroVideoFormatInfo ff_schro_video_format_info[] = {
|
||||
{ 640, 480, 24000, 1001},
|
||||
@@ -66,7 +67,7 @@ static unsigned int get_video_format_idx(AVCodecContext *avctx)
|
||||
return ret_idx;
|
||||
}
|
||||
|
||||
void ff_schro_queue_init(FFSchroQueue *queue)
|
||||
av_cold void ff_schro_queue_init(FFSchroQueue *queue)
|
||||
{
|
||||
queue->p_head = queue->p_tail = NULL;
|
||||
queue->size = 0;
|
||||
|
||||
Reference in New Issue
Block a user