OSDN Git Service

avframe: call release_buffer only if it is set
authorJanne Grunau <janne-libav@jannau.net>
Mon, 11 Mar 2013 15:24:36 +0000 (16:24 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Mon, 11 Mar 2013 17:58:47 +0000 (18:58 +0100)
commita2816230c5c0a8fc72bc0163b7d21a96b194d87a
tree640d8c2738f4d3f8c941dd4501fca59e0a826539
parentfce68c93554803801c32c1b20509bfa8d496b02a
avframe: call release_buffer only if it is set

AVCodecContext release_buffer() shall be NULL for audio codecs using
get_buffer. The backward compatibility code hence have to check before
calling it.
libavcodec/utils.c