Mercurial > libavformat.hg
comparison oggparseogm.c @ 5913:11bb10c37225 libavformat
Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.
Patch by Jean-Daniel Dupas, devlists shadowlab org
author | cehoyos |
---|---|
date | Wed, 31 Mar 2010 12:29:58 +0000 |
parents | 536e5527c1e0 |
children |
comparison
equal
deleted
inserted
replaced
5912:10f577d87c71 | 5913:11bb10c37225 |
---|---|
141 struct ogg_stream *os = ogg->streams + idx; | 141 struct ogg_stream *os = ogg->streams + idx; |
142 uint8_t *p = os->buf + os->pstart; | 142 uint8_t *p = os->buf + os->pstart; |
143 int lb; | 143 int lb; |
144 | 144 |
145 if(*p & 8) | 145 if(*p & 8) |
146 os->pflags |= PKT_FLAG_KEY; | 146 os->pflags |= AV_PKT_FLAG_KEY; |
147 | 147 |
148 lb = ((*p & 2) << 1) | ((*p >> 6) & 3); | 148 lb = ((*p & 2) << 1) | ((*p >> 6) & 3); |
149 os->pstart += lb + 1; | 149 os->pstart += lb + 1; |
150 os->psize -= lb + 1; | 150 os->psize -= lb + 1; |
151 | 151 |