flacdec: change frame bps validation to return an error value if bps
[FFMpeg-mirror/lagarith.git] / libavcodec / bethsoftvideo.h
blobd5b5d0a5258ffe182480804f3d83a5e1c9407f13
1 /*
2 * Bethesda VID video decoder
3 * Copyright (C) 2007 Nicholas Tung
5 * This file is part of FFmpeg.
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef AVCODEC_BETHSOFTVIDEO_H
23 #define AVCODEC_BETHSOFTVIDEO_H
25 enum BethsoftVidBlockType
27 PALETTE_BLOCK = 0x02,
28 FIRST_AUDIO_BLOCK = 0x7c,
29 AUDIO_BLOCK = 0x7d,
30 VIDEO_I_FRAME = 0x03,
31 VIDEO_P_FRAME = 0x01,
32 VIDEO_YOFF_P_FRAME = 0x04,
33 EOF_BLOCK = 0x14,
36 #endif /* AVCODEC_BETHSOFTVIDEO_H */