summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2007-12-20 11:22:39 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2007-12-20 11:22:39 +0000
commit107b5f93dde444be912c3581f856f1e456521bb9 (patch)
tree6a877fe974a2fd2e5762a1abcd4d2cf8a6ce00ba
parent7b76c22465b3973b2bfc1669f2605d196500f095 (diff)
Reindent
Originally committed as revision 11285 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/flvdec.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index b253b954b2..46270c2e5a 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -180,13 +180,13 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream, AVStream *vst
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;
+ }
}
}
}