Mercurial > libavcodec.hg
annotate flacdata.h @ 10042:37485479bb6e libavcodec
fix a crash in SVQ1 with cmp!=sad
author | lorenm |
---|---|
date | Tue, 11 Aug 2009 07:04:33 +0000 |
parents | 782d31263979 |
children |
rev | line source |
---|---|
1811
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
1 /* |
9213
782d31263979
share sample rate and blocksize tables between the FLAC encoder and FLAC
jbr
parents:
9211
diff
changeset
|
2 * FLAC data header |
1811
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
3 * Copyright (c) 2003 Alex Beregszaszi |
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
4 * |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3649
diff
changeset
|
5 * This file is part of FFmpeg. |
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3649
diff
changeset
|
6 * |
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3649
diff
changeset
|
7 * FFmpeg is free software; you can redistribute it and/or |
1811
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
8 * modify it under the terms of the GNU Lesser General Public |
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
9 * License as published by the Free Software Foundation; either |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3649
diff
changeset
|
10 * version 2.1 of the License, or (at your option) any later version. |
1811
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
11 * |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3649
diff
changeset
|
12 * FFmpeg is distributed in the hope that it will be useful, |
1811
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
15 * Lesser General Public License for more details. |
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
16 * |
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
17 * You should have received a copy of the GNU Lesser General Public |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3649
diff
changeset
|
18 * License along with FFmpeg; if not, write to the Free Software |
3036
0b546eab515d
Update licensing information: The FSF changed postal address.
diego
parents:
2967
diff
changeset
|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1811
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
20 */ |
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
21 |
9213
782d31263979
share sample rate and blocksize tables between the FLAC encoder and FLAC
jbr
parents:
9211
diff
changeset
|
22 #ifndef AVCODEC_FLACDATA_H |
782d31263979
share sample rate and blocksize tables between the FLAC encoder and FLAC
jbr
parents:
9211
diff
changeset
|
23 #define AVCODEC_FLACDATA_H |
2967 | 24 |
9213
782d31263979
share sample rate and blocksize tables between the FLAC encoder and FLAC
jbr
parents:
9211
diff
changeset
|
25 #include "internal.h" |
2967 | 26 |
9213
782d31263979
share sample rate and blocksize tables between the FLAC encoder and FLAC
jbr
parents:
9211
diff
changeset
|
27 extern const int ff_flac_sample_rate_table[16]; |
1811
98d4d32b90e8
flac decoder by (Alex Beregszaszi <alex at fsn dot hu>)
michael
parents:
diff
changeset
|
28 |
9213
782d31263979
share sample rate and blocksize tables between the FLAC encoder and FLAC
jbr
parents:
9211
diff
changeset
|
29 extern const int16_t ff_flac_blocksize_table[16]; |
7301
aab7f1fb59ea
If metadata has been parsed goto end instead of trying to
michael
parents:
7273
diff
changeset
|
30 |
9213
782d31263979
share sample rate and blocksize tables between the FLAC encoder and FLAC
jbr
parents:
9211
diff
changeset
|
31 #endif /* AVCODEC_FLACDATA_H */ |