~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-updates

« back to all changes in this revision

Viewing changes to libavcodec/libamr.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-03-13 09:18:28 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090313091828-n4ktby5eca487uhv
Tags: 3:0.svn20090303-1ubuntu1+unstripped1
merge from ubuntu.jaunty branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
    enum TXFrameType tx_frametype;
157
157
} AMRContext;
158
158
 
159
 
static int amr_nb_decode_init(AVCodecContext * avctx)
 
159
static av_cold int amr_nb_decode_init(AVCodecContext * avctx)
160
160
{
161
161
    AMRContext *s = avctx->priv_data;
162
162
 
184
184
    return 0;
185
185
}
186
186
 
187
 
static int amr_nb_encode_init(AVCodecContext * avctx)
 
187
static av_cold int amr_nb_encode_init(AVCodecContext * avctx)
188
188
{
189
189
    AMRContext *s = avctx->priv_data;
190
190
 
225
225
    return 0;
226
226
}
227
227
 
228
 
static int amr_nb_encode_close(AVCodecContext * avctx)
 
228
static av_cold int amr_nb_encode_close(AVCodecContext * avctx)
229
229
{
230
230
    AMRContext *s = avctx->priv_data;
231
231
 
235
235
    return 0;
236
236
}
237
237
 
238
 
static int amr_nb_decode_close(AVCodecContext * avctx)
 
238
static av_cold int amr_nb_decode_close(AVCodecContext * avctx)
239
239
{
240
240
    AMRContext *s = avctx->priv_data;
241
241
 
362
362
    int enc_bitrate;
363
363
} AMRContext;
364
364
 
365
 
static int amr_nb_decode_init(AVCodecContext * avctx)
 
365
static av_cold int amr_nb_decode_init(AVCodecContext * avctx)
366
366
{
367
367
    AMRContext *s = avctx->priv_data;
368
368
 
385
385
    return 0;
386
386
}
387
387
 
388
 
static int amr_nb_encode_init(AVCodecContext * avctx)
 
388
static av_cold int amr_nb_encode_init(AVCodecContext * avctx)
389
389
{
390
390
    AMRContext *s = avctx->priv_data;
391
391
 
422
422
    return 0;
423
423
}
424
424
 
425
 
static int amr_nb_decode_close(AVCodecContext * avctx)
 
425
static av_cold int amr_nb_decode_close(AVCodecContext * avctx)
426
426
{
427
427
    AMRContext *s = avctx->priv_data;
428
428
 
430
430
    return 0;
431
431
}
432
432
 
433
 
static int amr_nb_encode_close(AVCodecContext * avctx)
 
433
static av_cold int amr_nb_encode_close(AVCodecContext * avctx)
434
434
{
435
435
    AMRContext *s = avctx->priv_data;
436
436