Mercurial > libavformat.hg
comparison iff.c @ 5773:fd3b7b9b63a8 libavformat
IFF: move ff_cmap_read_palette() prototype to a header file
author | mru |
---|---|
date | Mon, 08 Mar 2010 02:36:00 +0000 |
parents | 1701ad9b6064 |
children | 536e5527c1e0 |
comparison
equal
deleted
inserted
replaced
5772:d3d45b140065 | 5773:fd3b7b9b63a8 |
---|---|
27 * for more information on the .iff file format, visit: | 27 * for more information on the .iff file format, visit: |
28 * http://wiki.multimedia.cx/index.php?title=IFF | 28 * http://wiki.multimedia.cx/index.php?title=IFF |
29 */ | 29 */ |
30 | 30 |
31 #include "libavutil/intreadwrite.h" | 31 #include "libavutil/intreadwrite.h" |
32 #include "libavcodec/iff.h" | |
32 #include "avformat.h" | 33 #include "avformat.h" |
33 | 34 |
34 #define ID_8SVX MKTAG('8','S','V','X') | 35 #define ID_8SVX MKTAG('8','S','V','X') |
35 #define ID_VHDR MKTAG('V','H','D','R') | 36 #define ID_VHDR MKTAG('V','H','D','R') |
36 #define ID_ATAK MKTAG('A','T','A','K') | 37 #define ID_ATAK MKTAG('A','T','A','K') |
221 } | 222 } |
222 | 223 |
223 return 0; | 224 return 0; |
224 } | 225 } |
225 | 226 |
226 int ff_cmap_read_palette(AVCodecContext *avctx, uint32_t *pal); | |
227 | |
228 static int iff_read_packet(AVFormatContext *s, | 227 static int iff_read_packet(AVFormatContext *s, |
229 AVPacket *pkt) | 228 AVPacket *pkt) |
230 { | 229 { |
231 IffDemuxContext *iff = s->priv_data; | 230 IffDemuxContext *iff = s->priv_data; |
232 ByteIOContext *pb = s->pb; | 231 ByteIOContext *pb = s->pb; |