diff options
author | Martin Storsjö | 2011-04-20 15:36:37 +0300 |
---|---|---|
committer | Martin Storsjö | 2011-04-24 00:05:37 +0300 |
commit | 9261e6cf3fe579fa02a96761c8e81a77bb3d8b2e (patch) | |
tree | 35cadce6dbfeee1112fd60a2ed9c53456c4bfff0 /libavformat/rtpdec_latm.c | |
parent | 89b503b55f2b2713f1c3cc8981102c1a7b663281 (diff) |
rtp: Rename the open/close functions to alloc/free
This avoids clashes if we internally want to override the global
open function.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtpdec_latm.c')
-rw-r--r-- | libavformat/rtpdec_latm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec_latm.c b/libavformat/rtpdec_latm.c index 5bf4c1964e..bde34b7ab9 100644 --- a/libavformat/rtpdec_latm.c +++ b/libavformat/rtpdec_latm.c @@ -181,7 +181,7 @@ RTPDynamicProtocolHandler ff_mp4a_latm_dynamic_handler = { .codec_type = AVMEDIA_TYPE_AUDIO, .codec_id = CODEC_ID_AAC, .parse_sdp_a_line = latm_parse_sdp_line, - .open = latm_new_context, - .close = latm_free_context, + .alloc = latm_new_context, + .free = latm_free_context, .parse_packet = latm_parse_packet }; |