Mercurial > libavformat.hg
diff mmf.c @ 3769:93d4898d9b6e libavformat
Mark several libavformat arrays const
| author | reimar |
|---|---|
| date | Sun, 24 Aug 2008 17:24:34 +0000 |
| parents | 457a89a670cf |
| children | e6aeb2733e34 |
line wrap: on
line diff
--- a/mmf.c Sun Aug 24 17:19:46 2008 +0000 +++ b/mmf.c Sun Aug 24 17:24:34 2008 +0000 @@ -27,7 +27,7 @@ offset_t data_size; } MMFContext; -static int mmf_rates[] = { 4000, 8000, 11025, 22050, 44100 }; +static const int mmf_rates[] = { 4000, 8000, 11025, 22050, 44100 }; static int mmf_rate(int code) {
