Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: libavcodec/wmavoice.c

Issue 9370003: Remove pthreads patch, roll in new patches, disable unchecked bit readers. (Closed) Base URL: ssh://gerrit.chromium.org:29418/chromium/third_party/ffmpeg.git@master
Patch Set: gyp fix. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Windows Media Audio Voice decoder. 2 * Windows Media Audio Voice decoder.
3 * Copyright (c) 2009 Ronald S. Bultje 3 * Copyright (c) 2009 Ronald S. Bultje
4 * 4 *
5 * This file is part of FFmpeg. 5 * This file is part of FFmpeg.
6 * 6 *
7 * FFmpeg is free software; you can redistribute it and/or 7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version. 10 * version 2.1 of the License, or (at your option) any later version.
11 * 11 *
12 * FFmpeg is distributed in the hope that it will be useful, 12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details. 15 * Lesser General Public License for more details.
16 * 16 *
17 * You should have received a copy of the GNU Lesser General Public 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 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 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21 21
22 /** 22 /**
23 * @file 23 * @file
24 * @brief Windows Media Audio Voice compatible decoder 24 * @brief Windows Media Audio Voice compatible decoder
25 * @author Ronald S. Bultje <rsbultje@gmail.com> 25 * @author Ronald S. Bultje <rsbultje@gmail.com>
26 */ 26 */
27 27
28 #define UNCHECKED_BITSTREAM_READER 1
29
30 #include <math.h> 28 #include <math.h>
31 #include "avcodec.h" 29 #include "avcodec.h"
32 #include "get_bits.h" 30 #include "get_bits.h"
33 #include "put_bits.h" 31 #include "put_bits.h"
34 #include "wmavoice_data.h" 32 #include "wmavoice_data.h"
35 #include "celp_math.h" 33 #include "celp_math.h"
36 #include "celp_filters.h" 34 #include "celp_filters.h"
37 #include "acelp_vectors.h" 35 #include "acelp_vectors.h"
38 #include "acelp_filters.h" 36 #include "acelp_filters.h"
39 #include "lsp.h" 37 #include "lsp.h"
(...skipping 2011 matching lines...) Expand 10 before | Expand all | Expand 10 after
2051 .type = AVMEDIA_TYPE_AUDIO, 2049 .type = AVMEDIA_TYPE_AUDIO,
2052 .id = CODEC_ID_WMAVOICE, 2050 .id = CODEC_ID_WMAVOICE,
2053 .priv_data_size = sizeof(WMAVoiceContext), 2051 .priv_data_size = sizeof(WMAVoiceContext),
2054 .init = wmavoice_decode_init, 2052 .init = wmavoice_decode_init,
2055 .close = wmavoice_decode_end, 2053 .close = wmavoice_decode_end,
2056 .decode = wmavoice_decode_packet, 2054 .decode = wmavoice_decode_packet,
2057 .capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1, 2055 .capabilities = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1,
2058 .flush = wmavoice_flush, 2056 .flush = wmavoice_flush,
2059 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Voice"), 2057 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Audio Voice"),
2060 }; 2058 };
OLDNEW
« configure ('K') | « libavcodec/mpegaudiodec.c ('k') | libavformat/matroskadec.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698