Mercurial > libavformat.hg
annotate rtpdec_amr.h @ 6193:da9998b48dff libavformat
rtpdec: Malloc the fmtp value buffer
This allows very large value strings, needed for xiph extradata.
Patch by Josh Allmann, joshua dot allmann at gmail
author | mstorsjo |
---|---|
date | Mon, 28 Jun 2010 20:27:25 +0000 |
parents | 457efbf56d15 |
children |
rev | line source |
---|---|
5643
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
1 /* |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
2 * RTP AMR Depacketizer, RFC 3267 |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
3 * Copyright (c) 2010 Martin Storsjo |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
4 * |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
5 * This file is part of FFmpeg. |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
6 * |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
7 * FFmpeg is free software; you can redistribute it and/or |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
8 * modify it under the terms of the GNU Lesser General Public |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
9 * License as published by the Free Software Foundation; either |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
10 * version 2.1 of the License, or (at your option) any later version. |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
11 * |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
12 * FFmpeg is distributed in the hope that it will be useful, |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
15 * Lesser General Public License for more details. |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
16 * |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
17 * You should have received a copy of the GNU Lesser General Public |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
18 * License along with FFmpeg; if not, write to the Free Software |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
20 */ |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
21 |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
22 #ifndef AVFORMAT_RTPDEC_AMR_H |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
23 #define AVFORMAT_RTPDEC_AMR_H |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
24 |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
25 #include "rtpdec.h" |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
26 |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
27 extern RTPDynamicProtocolHandler ff_amr_nb_dynamic_handler; |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
28 extern RTPDynamicProtocolHandler ff_amr_wb_dynamic_handler; |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
29 |
457efbf56d15
RTP/AMR depacketizer, by Martin Storsj <$firstname at $firstname dot st>.
rbultje
parents:
diff
changeset
|
30 #endif /* AVFORMAT_RTPDEC_AMR_H */ |