Mercurial > libavformat.hg
comparison oggparseogm.c @ 2997:c3de842d7ff5 libavformat
const
author | bcoudurier |
---|---|
date | Fri, 01 Feb 2008 15:17:43 +0000 |
parents | 35b3eaafd9fe |
children | 6f61c3b36632 |
comparison
equal
deleted
inserted
replaced
2996:8575ec7c128a | 2997:c3de842d7ff5 |
---|---|
34 ogm_header(AVFormatContext *s, int idx) | 34 ogm_header(AVFormatContext *s, int idx) |
35 { | 35 { |
36 ogg_t *ogg = s->priv_data; | 36 ogg_t *ogg = s->priv_data; |
37 ogg_stream_t *os = ogg->streams + idx; | 37 ogg_stream_t *os = ogg->streams + idx; |
38 AVStream *st = s->streams[idx]; | 38 AVStream *st = s->streams[idx]; |
39 uint8_t *p = os->buf + os->pstart; | 39 const uint8_t *p = os->buf + os->pstart; |
40 uint64_t time_unit; | 40 uint64_t time_unit; |
41 uint64_t spu; | 41 uint64_t spu; |
42 uint32_t default_len; | 42 uint32_t default_len; |
43 | 43 |
44 if(!(*p & 1)) | 44 if(!(*p & 1)) |