Mercurial > libavformat.hg
changeset 2848:c8185d08d339 libavformat
Reindent
author | banan |
---|---|
date | Thu, 20 Dec 2007 11:22:39 +0000 |
parents | f2a69a8c657d |
children | 0182bdddc45e |
files | flvdec.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/flvdec.c Thu Dec 20 11:21:10 2007 +0000 +++ b/flvdec.c Thu Dec 20 11:22:39 2007 +0000 @@ -180,13 +180,13 @@ else if(!strcmp(key, "audiosamplerate") && acodec && num_val >= 0) { //some tools, like FLVTool2, write consistently approximate metadata sample rates if (!acodec->sample_rate) { - switch((int)num_val) { - case 44000: acodec->sample_rate = 44100 ; break; - case 22000: acodec->sample_rate = 22050 ; break; - case 11000: acodec->sample_rate = 11025 ; break; - case 5000 : acodec->sample_rate = 5512 ; break; - default : acodec->sample_rate = num_val; - } + switch((int)num_val) { + case 44000: acodec->sample_rate = 44100 ; break; + case 22000: acodec->sample_rate = 22050 ; break; + case 11000: acodec->sample_rate = 11025 ; break; + case 5000 : acodec->sample_rate = 5512 ; break; + default : acodec->sample_rate = num_val; + } } } }