Mercurial > libavcodec.hg
comparison raw.c @ 8023:76f6a08c9fe6 libavcodec
Fix some icc warnings by using enum PixelFormat instead of int where appropriate.
author | cehoyos |
---|---|
date | Mon, 13 Oct 2008 07:42:11 +0000 |
parents | 6b8daf48b82f |
children | 765685da1483 |
comparison
equal
deleted
inserted
replaced
8022:21c3e313709e | 8023:76f6a08c9fe6 |
---|---|
50 | 50 |
51 /* quicktime */ | 51 /* quicktime */ |
52 { PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') }, | 52 { PIX_FMT_UYVY422, MKTAG('2', 'v', 'u', 'y') }, |
53 { PIX_FMT_UYVY422, MKTAG('A', 'V', 'U', 'I') }, /* FIXME merge both fields */ | 53 { PIX_FMT_UYVY422, MKTAG('A', 'V', 'U', 'I') }, /* FIXME merge both fields */ |
54 | 54 |
55 { -1, 0 }, | 55 { PIX_FMT_NONE, 0 }, |
56 }; | 56 }; |
57 | 57 |
58 unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat fmt) | 58 unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat fmt) |
59 { | 59 { |
60 const PixelFormatTag * tags = ff_raw_pixelFormatTags; | 60 const PixelFormatTag * tags = ff_raw_pixelFormatTags; |