comparison 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
comparison
equal deleted inserted replaced
9006:37ac731fe32c 9007:043574c5c153
79 *bit_rate = s->bit_rate; 79 *bit_rate = s->bit_rate;
80 avctx->sub_id = s->layer; 80 avctx->sub_id = s->layer;
81 return s->frame_size; 81 return s->frame_size;
82 } 82 }
83 83
84 static int mpegaudio_parse_init(AVCodecParserContext *s1) 84 static av_cold int mpegaudio_parse_init(AVCodecParserContext *s1)
85 { 85 {
86 MpegAudioParseContext *s = s1->priv_data; 86 MpegAudioParseContext *s = s1->priv_data;
87 s->inbuf_ptr = s->inbuf; 87 s->inbuf_ptr = s->inbuf;
88 return 0; 88 return 0;
89 } 89 }