Ticket #469: h264_parse_close.patch

File h264_parse_close.patch, 436 bytes (added by codon1@…, 20 years ago)

Patch

Line 
1Index: h264.c
2===================================================================
3RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
4retrieving revision 1.198
5diff -r1.198 h264.c
68056a8057,8064
7> static void h264_parse_close(AVCodecParserContext *s)
8> {
9> H264Context *h = s->priv_data;
10> ParseContext *pc = &h->s.parse_context;
11>
12> av_free(pc->buffer);
13> }
14>
158076c8084
16< ff_parse_close,
17---
18> h264_parse_close,