Mercurial > libavcodec.hg
comparison 8bps.c @ 6788:e1302edb0f69 libavcodec
Replace some occurrences of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type
| author | cehoyos |
|---|---|
| date | Sun, 11 May 2008 22:28:43 +0000 |
| parents | 5b3acf9fd50a |
| children | 9e617affaa69 |
comparison
equal
deleted
inserted
replaced
| 6787:d24da66bec76 | 6788:e1302edb0f69 |
|---|---|
| 35 #include <stdlib.h> | 35 #include <stdlib.h> |
| 36 | 36 |
| 37 #include "avcodec.h" | 37 #include "avcodec.h" |
| 38 | 38 |
| 39 | 39 |
| 40 static const enum PixelFormat pixfmt_rgb24[] = {PIX_FMT_BGR24, PIX_FMT_RGB32, -1}; | 40 static const enum PixelFormat pixfmt_rgb24[] = {PIX_FMT_BGR24, PIX_FMT_RGB32, PIX_FMT_NONE}; |
| 41 | 41 |
| 42 /* | 42 /* |
| 43 * Decoder context | 43 * Decoder context |
| 44 */ | 44 */ |
| 45 typedef struct EightBpsContext { | 45 typedef struct EightBpsContext { |
