comparison flvenc.c @ 887:d70e50f1495f libavformat

COSMETICS: tabs --> spaces, some prettyprinting
author diego
date Thu, 22 Dec 2005 01:10:11 +0000
parents da1d5db0ce5c
children edbe5c3717f9
comparison
equal deleted inserted replaced
886:7ed1351f8c7e 887:d70e50f1495f
56 switch(enc->codec_id){ 56 switch(enc->codec_id){
57 case CODEC_ID_MP3: 57 case CODEC_ID_MP3:
58 flags |= 0x20 | 0x2; 58 flags |= 0x20 | 0x2;
59 break; 59 break;
60 case CODEC_ID_PCM_S8: 60 case CODEC_ID_PCM_S8:
61 break; 61 break;
62 case CODEC_ID_PCM_S16BE: 62 case CODEC_ID_PCM_S16BE:
63 flags |= 0x60 | 0x2; 63 flags |= 0x60 | 0x2;
64 break; 64 break;
65 case CODEC_ID_PCM_S16LE: 65 case CODEC_ID_PCM_S16LE:
66 flags |= 0x2; 66 flags |= 0x2;
67 break; 67 break;
68 case CODEC_ID_ADPCM_SWF: 68 case CODEC_ID_ADPCM_SWF:
69 flags |= 0x10; 69 flags |= 0x10;
70 break; 70 break;
71 case 0: 71 case 0:
72 flags |= enc->codec_tag<<4; 72 flags |= enc->codec_tag<<4;
73 break; 73 break;
74 default: 74 default:
75 av_log(enc, AV_LOG_ERROR, "codec not compatible with flv\n"); 75 av_log(enc, AV_LOG_ERROR, "codec not compatible with flv\n");