annotate cga_data.h @ 9896:bbefbca72722 libavcodec

Drop code that attempts to decode frames that are prefixed by junk. Too often it ends up decoding random data into noise without detecting it (for example after seeking of some MP3 data with oddly often occurring startcode emulation). Fixes issue1154.
author michael
date Tue, 30 Jun 2009 03:57:27 +0000
parents 5b75e6e974c7
children 60d6fa47988b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9615
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
1 /*
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
2 * CGA ROM data
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
3 *
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
4 * This file is part of FFmpeg.
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
5 *
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
6 * FFmpeg is free software; you can redistribute it and/or
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
7 * modify it under the terms of the GNU Lesser General Public
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
8 * License as published by the Free Software Foundation; either
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
9 * version 2.1 of the License, or (at your option) any later version.
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
10 *
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
11 * FFmpeg is distributed in the hope that it will be useful,
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
14 * Lesser General Public License for more details.
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
15 *
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
16 * You should have received a copy of the GNU Lesser General Public
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
17 * License along with FFmpeg; if not, write to the Free Software
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
19 */
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
20
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
21 #ifndef AVCODEC_CGA_DATA_H
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
22 #define AVCODEC_CGA_DATA_H
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
23
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
24 extern const uint8_t ff_cga_font[2048];
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
25 extern const uint32_t ff_cga_palette[16];
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
26
5b75e6e974c7 Add CGA and palette data for 8088flex TMV decoder.
stefano
parents:
diff changeset
27 #endif