Mercurial > libavcodec.hg
comparison adpcm.c @ 10145:7955db355703 libavcodec
Make sample_fmts and channel_layouts compound literals const to reduce size of
.data section.
author | reimar |
---|---|
date | Sun, 06 Sep 2009 09:15:07 +0000 |
parents | 681cf949c1cf |
children | b73908dda9b4 |
comparison
equal
deleted
inserted
replaced
10144:50ec8930f99e | 10145:7955db355703 |
---|---|
1629 sizeof(ADPCMContext), \ | 1629 sizeof(ADPCMContext), \ |
1630 adpcm_encode_init, \ | 1630 adpcm_encode_init, \ |
1631 adpcm_encode_frame, \ | 1631 adpcm_encode_frame, \ |
1632 adpcm_encode_close, \ | 1632 adpcm_encode_close, \ |
1633 NULL, \ | 1633 NULL, \ |
1634 .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, \ | 1634 .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE}, \ |
1635 .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ | 1635 .long_name = NULL_IF_CONFIG_SMALL(long_name_), \ |
1636 }; | 1636 }; |
1637 #else | 1637 #else |
1638 #define ADPCM_ENCODER(id,name,long_name_) | 1638 #define ADPCM_ENCODER(id,name,long_name_) |
1639 #endif | 1639 #endif |