Mercurial > libavformat.hg
comparison wv.c @ 1673:a782462e2497 libavformat
rename BE/LE_8/16/32 to AV_RL/B_8/16/32
author | alex |
---|---|
date | Fri, 19 Jan 2007 22:12:59 +0000 |
parents | 669d33f6dde5 |
children | 75909fc5b5a9 |
comparison
equal
deleted
inserted
replaced
1672:818eafa8fc95 | 1673:a782462e2497 |
---|---|
90 get_byte(pb); // track no | 90 get_byte(pb); // track no |
91 get_byte(pb); // track sub index | 91 get_byte(pb); // track sub index |
92 get_le32(pb); // total samples in file | 92 get_le32(pb); // total samples in file |
93 get_le32(pb); // offset in samples of current block | 93 get_le32(pb); // offset in samples of current block |
94 get_buffer(pb, wc->extra, WV_EXTRA_SIZE); | 94 get_buffer(pb, wc->extra, WV_EXTRA_SIZE); |
95 wc->flags = LE_32(wc->extra + 4); | 95 wc->flags = AV_RL32(wc->extra + 4); |
96 //parse flags | 96 //parse flags |
97 if(wc->flags & WV_FLOAT){ | 97 if(wc->flags & WV_FLOAT){ |
98 av_log(ctx, AV_LOG_ERROR, "Floating point data is not supported\n"); | 98 av_log(ctx, AV_LOG_ERROR, "Floating point data is not supported\n"); |
99 return -1; | 99 return -1; |
100 } | 100 } |