Re: [Musicpd-dev-team] [PATCH] ffmpeg decoder plugin: do not allocate an AVFrame on stack.

2013-04-05 Thread Max Kellermann
On 2013/03/22 07:05, Anton Khirnov an...@khirnov.net wrote: AVFrame must be allocated with avcodec_alloc_frame(). Merged, and backported to v0.17.x. -- Minimize network downtime and maximize team effectiveness. Reduce

[Musicpd-dev-team] [PATCH] ffmpeg decoder plugin: do not allocate an AVFrame on stack.

2013-03-22 Thread Anton Khirnov
AVFrame must be allocated with avcodec_alloc_frame(). --- src/decoder/FfmpegDecoderPlugin.cxx | 29 - 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/src/decoder/FfmpegDecoderPlugin.cxx b/src/decoder/FfmpegDecoderPlugin.cxx index dd98b96..3f3e8a4