Mercurial > libavcodec.hg
comparison avcodec.h @ 10972:3dd1cb77cc60 libavcodec
Use AVPALETTE_COUNT instead of hard-coding 256.
This is consistent with other codecs and will also avoid a crash on the
memcpy to data[1] if AVPALETTE_SIZE ever increases.
| author | reimar |
|---|---|
| date | Sat, 23 Jan 2010 15:22:48 +0000 |
| parents | 0c50a3c33c03 |
| children | ec682347e19e |
comparison
equal
deleted
inserted
replaced
| 10971:d5f811c11f08 | 10972:3dd1cb77cc60 |
|---|
