mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
rtpdec: Rename the free method to close
Many of these functions were named foo_free_context, and since the functions no longer should free the context itself, only allocated elements within it, the previous naming was slightly misleading. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
8e32b1f096
commit
d594dbecce
18 changed files with 38 additions and 38 deletions
|
|
@ -32,7 +32,7 @@ struct PayloadContext {
|
|||
AVIOContext *fragment;
|
||||
};
|
||||
|
||||
static void ac3_free_context(PayloadContext *data)
|
||||
static void ac3_close_context(PayloadContext *data)
|
||||
{
|
||||
ffio_free_dyn_buf(&data->fragment);
|
||||
}
|
||||
|
|
@ -128,6 +128,6 @@ RTPDynamicProtocolHandler ff_ac3_dynamic_handler = {
|
|||
.codec_id = AV_CODEC_ID_AC3,
|
||||
.need_parsing = AVSTREAM_PARSE_FULL,
|
||||
.priv_data_size = sizeof(PayloadContext),
|
||||
.free = ac3_free_context,
|
||||
.close = ac3_close_context,
|
||||
.parse_packet = ac3_handle_packet,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue