summaryrefslogtreecommitdiff
path: root/libavcodec/audio_frame_queue.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-01 10:31:59 +0100
committerDiego Biurrun <diego@biurrun.de>2013-05-04 21:09:45 +0200
commit6fee1b90ce3bf4fbdfde7016e0890057c9000487 (patch)
treec1b37ab53c8caab6b47702ec4451038c5d2882e4 /libavcodec/audio_frame_queue.c
parent72e228b274a98af1aba9588415d0cd87fde44663 (diff)
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/audio_frame_queue.c')
-rw-r--r--libavcodec/audio_frame_queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/audio_frame_queue.c b/libavcodec/audio_frame_queue.c
index 80f31008b0..0a8b25c6e3 100644
--- a/libavcodec/audio_frame_queue.c
+++ b/libavcodec/audio_frame_queue.c
@@ -19,12 +19,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "libavutil/mathematics.h"
#include "internal.h"
#include "audio_frame_queue.h"
-void ff_af_queue_init(AVCodecContext *avctx, AudioFrameQueue *afq)
+av_cold void ff_af_queue_init(AVCodecContext *avctx, AudioFrameQueue *afq)
{
afq->avctx = avctx;
afq->next_pts = AV_NOPTS_VALUE;