vlc/vlc-2.2 | branch: master | Thomas Guillem <[email protected]> | Tue Dec 8 16:44:54 2015 +0100| [9a316d42c110aa80bf5dff16c443338a7dba700c] | committer: Thomas Guillem
avcodec: fix build before libavcodec 55 Pointed-by: Hannes Domani <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=9a316d42c110aa80bf5dff16c443338a7dba700c --- modules/codec/avcodec/audio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c index 9dc8928..7068499 100644 --- a/modules/codec/avcodec/audio.c +++ b/modules/codec/avcodec/audio.c @@ -451,7 +451,9 @@ block_t * DecodeAudio ( decoder_t *p_dec, block_t **pp_block ) end: *pp_block = NULL; drop: +#if (LIBAVCODEC_VERSION_MAJOR >= 55) av_frame_free(&frame); +#endif if( p_block != NULL ) block_Release(p_block); return NULL; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
