diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-28 13:09:30 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-28 13:11:03 +0100 |
commit | ccaa5dcb31353fba43245ea737f42b7f2099973d (patch) | |
tree | 9db501887a8ab66df7e4d62e70d0a3fd72448f48 /libavcodec/h264_parser.c | |
parent | 1600f85cbc4594c589cfea42121e3ddad0b974e9 (diff) | |
download | ffmpeg-ccaa5dcb31353fba43245ea737f42b7f2099973d.tar.gz |
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>
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r-- | libavcodec/h264_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 24d87d0709..b1815e6d45 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -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, }; |