Mercurial > libavcodec.hg
annotate bethsoftvideo.h @ 5957:0f2c4fa2c4f2 libavcodec
wma_decode_superframe always returns s->block_align, so make
sure we actually consume exactly that amount.
Fixes sound artefacts (mostly blips) that mysteriously disappeared
after e.g. remuxing with mencoder.
author | reimar |
---|---|
date | Fri, 30 Nov 2007 21:51:34 +0000 |
parents | 1d83e9c34641 |
children | c4a4495715dd |
rev | line source |
---|---|
5212 | 1 /* |
2 * Bethesda VID video decoder | |
3 * Copyright (C) 2007 Nicholas Tung | |
4 * | |
5 * This file is part of FFmpeg. | |
6 * | |
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. | |
11 * | |
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. | |
16 * | |
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 | |
20 */ | |
21 | |
5830
1d83e9c34641
Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents:
5212
diff
changeset
|
22 #ifndef FFMPEG_BETHSOFTVIDEO_H |
1d83e9c34641
Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents:
5212
diff
changeset
|
23 #define FFMPEG_BETHSOFTVIDEO_H |
5163 | 24 |
4803 | 25 enum BethsoftVidBlockType |
26 { | |
4818 | 27 PALETTE_BLOCK = 0x02, |
28 FIRST_AUDIO_BLOCK = 0x7c, | |
29 AUDIO_BLOCK = 0x7d, | |
4812 | 30 VIDEO_I_FRAME = 0x03, |
31 VIDEO_P_FRAME = 0x01, | |
32 VIDEO_YOFF_P_FRAME = 0x04, | |
33 EOF_BLOCK = 0x14, | |
4803 | 34 }; |
5163 | 35 |
5830
1d83e9c34641
Add FFMPEG_ prefix to all multiple inclusion guards.
diego
parents:
5212
diff
changeset
|
36 #endif /* FFMPEG_BETHSOFTVIDEO_H */ |