Revision ffa5ed24 libavformat/idcin.c

View differences:

libavformat/idcin.c
1 1
/*
2
 * Id Quake II CIN File Demuxer
2
 * id Quake II CIN File Demuxer
3 3
 * Copyright (c) 2003 The ffmpeg Project
4 4
 *
5 5
 * This file is part of FFmpeg.
......
21 21

  
22 22
/**
23 23
 * @file idcin.c
24
 * Id Quake II CIN file demuxer by Mike Melanson (melanson@pcisys.net)
25
 * For more information about the Id CIN format, visit:
24
 * id Quake II CIN file demuxer by Mike Melanson (melanson@pcisys.net)
25
 * For more information about the id CIN format, visit:
26 26
 *   http://www.csse.monash.edu.au/~timf/
27 27
 *
28 28
 * CIN is a somewhat quirky and ill-defined format. Here are some notes
......
53 53
 *   audio frame #2: 787 * (bytes/sample) * (# channels) bytes in frame
54 54
 *   audio frame #3: 788 * (bytes/sample) * (# channels) bytes in frame
55 55
 *
56
 * Finally, not all Id CIN creation tools agree on the resolution of the
56
 * Finally, not all id CIN creation tools agree on the resolution of the
57 57
 * color palette, apparently. Some creation tools specify red, green, and
58 58
 * blue palette components in terms of 6-bit VGA color DAC values which
59 59
 * range from 0..63. Other tools specify the RGB components as full 8-bit
......
94 94
    unsigned int number;
95 95

  
96 96
    /*
97
     * This is what you could call a "probabilistic" file check: Id CIN
97
     * This is what you could call a "probabilistic" file check: id CIN
98 98
     * files don't have a definite file signature. In lieu of such a marker,
99 99
     * perform sanity checks on the 5 32-bit header fields:
100 100
     *  width, height: greater than 0, less than or equal to 1024
......
288 288

  
289 289
AVInputFormat idcin_demuxer = {
290 290
    "idcin",
291
    NULL_IF_CONFIG_SMALL("Id CIN format"),
291
    NULL_IF_CONFIG_SMALL("id CIN format"),
292 292
    sizeof(IdcinDemuxContext),
293 293
    idcin_probe,
294 294
    idcin_read_header,

Also available in: Unified diff