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/dirac_parser: use av_freep(), do not leave stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer
11 years ago
parent
c712d240b1
commit
3521c70dab
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/dirac_parser.c
+ 1
- 1
libavcodec/dirac_parser.c
View File
@@ -251,7 +251,7 @@ static void dirac_parse_close(AVCodecParserContext *s)
DiracParseContext *pc = s->priv_data;
if (pc->buffer_size > 0)
av_free(pc->buffer);
av_free
p
(
&
pc->buffer);
}
AVCodecParser ff_dirac_parser = {
Write
Preview
Loading…
Cancel
Save