mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-03 13:32:10 +00:00
avcodec/h264_parser: Rename close()
This avoids a potential conflict with the equally named function for closing files It also could reduce confusion in debugger backtraces Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1600f85cbc
commit
ccaa5dcb31
@ -557,7 +557,7 @@ static int h264_split(AVCodecContext *avctx,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void close(AVCodecParserContext *s)
|
||||
static void h264_close(AVCodecParserContext *s)
|
||||
{
|
||||
H264ParseContext *p = s->priv_data;
|
||||
H264Context *h = &p->h;
|
||||
@ -582,6 +582,6 @@ AVCodecParser ff_h264_parser = {
|
||||
.priv_data_size = sizeof(H264ParseContext),
|
||||
.parser_init = init,
|
||||
.parser_parse = h264_parse,
|
||||
.parser_close = close,
|
||||
.parser_close = h264_close,
|
||||
.split = h264_split,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user