freebsd-ports/multimedia/vdr-plugin-osdpip/files/patch-decoder.c
Ben Woods 1c3021d406 multimedia/vdr-plugin-osdpip:
- Update to 0.1.2
- Add patch to fix build with FFmpeg 3.0.x once it lands in ports tree
- Add LICENSE and LICENSE_FILE
- Add DOCS option and post-install-DOCS-on target
- Remove obsolete patches for i18n.h, receiver.c and part of Makefile
- Merge patch-vdr-osdpip-0.1.0 into patch-Makefile
- Reformulate remaining patches to not require PATCH_STRIP=-p1
- Fix WWW in pkg-descr

Changes this release:
  https://projects.vdr-developer.org/news/184

Approved by:	adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D6806
2016-06-11 17:14:48 +00:00

20 lines
453 B
C

--- decoder.c.orig 2012-02-12 12:24:00 UTC
+++ decoder.c
@@ -55,13 +55,13 @@ int cDecoder::Close()
{
#ifndef USE_SWSCALE
delete[] m_BufferConvert;
- free(m_PicConvert);
+ av_free(m_PicConvert);
#endif
delete[] m_BufferResample;
- free(m_PicResample);
+ av_free(m_PicResample);
avcodec_close(m_Context);
- free(m_Context);
- free(m_PicDecoded);
+ av_free(m_Context);
+ av_free(m_PicDecoded);
return 0;
}