comparison flvenc.c @ 2591:fb98ebeedd81 libavformat

indent
author michael
date Tue, 09 Oct 2007 01:12:27 +0000
parents 307c3f7a7862
children bb9c77d499dd
comparison
equal deleted inserted replaced
2590:307c3f7a7862 2591:fb98ebeedd81
65 flags |= FLV_SAMPLERATE_11025HZ; 65 flags |= FLV_SAMPLERATE_11025HZ;
66 break; 66 break;
67 case 8000: //nellymoser only 67 case 8000: //nellymoser only
68 case 5512: //not mp3 68 case 5512: //not mp3
69 if(enc->codec_id != CODEC_ID_MP3){ 69 if(enc->codec_id != CODEC_ID_MP3){
70 flags |= FLV_SAMPLERATE_SPECIAL; 70 flags |= FLV_SAMPLERATE_SPECIAL;
71 break; 71 break;
72 } 72 }
73 default: 73 default:
74 av_log(enc, AV_LOG_ERROR, "flv does not support that sample rate, choose from (44100, 22050, 11025).\n"); 74 av_log(enc, AV_LOG_ERROR, "flv does not support that sample rate, choose from (44100, 22050, 11025).\n");
75 return -1; 75 return -1;
76 } 76 }