diff mpegaudio_parser.c @ 9007:043574c5c153 libavcodec

Add missing av_cold in static init/close functions. Patch by Daniel Verkamp daniel at drv dot nu.
author stefano
date Sun, 22 Feb 2009 13:48:55 +0000
parents 54e2916c25a5
children 407470044819
line wrap: on
line diff
--- a/mpegaudio_parser.c	Sun Feb 22 11:35:32 2009 +0000
+++ b/mpegaudio_parser.c	Sun Feb 22 13:48:55 2009 +0000
@@ -81,7 +81,7 @@
     return s->frame_size;
 }
 
-static int mpegaudio_parse_init(AVCodecParserContext *s1)
+static av_cold int mpegaudio_parse_init(AVCodecParserContext *s1)
 {
     MpegAudioParseContext *s = s1->priv_data;
     s->inbuf_ptr = s->inbuf;