This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/h264_parser: Use av_freep() to avoid leaving stale pointers
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer
11 years ago
parent
2a26b22a17
commit
fc8d59fa6f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/h264_parser.c
+ 1
- 1
libavcodec/h264_parser.c
View File
@@ -547,7 +547,7 @@ static void close(AVCodecParserContext *s)
H264Context *h = s->priv_data;
ParseContext *pc = &h->parse_context;
av_free(pc->buffer);
av_free
p
(
&
pc->buffer);
ff_h264_free_context(h);
}
Write
Preview
Loading…
Cancel
Save