flacdec: don't call allocate_buffers() in init_thread_copy() when s->max_blocksize...
authorPaul B Mahol <onemda@gmail.com>
Thu, 6 Jun 2013 01:00:56 +0000 (01:00 +0000)
committerPaul B Mahol <onemda@gmail.com>
Thu, 6 Jun 2013 01:06:45 +0000 (01:06 +0000)
commita28f4fd1ea45821100032403ebdac1c164b10007
tree62a18fd6525640efbd398d6e05bc944eefda3895
parentc59ce1c98e5fdcd3d00fa4980ec8516eb9cad2c4
flacdec: don't call allocate_buffers() in init_thread_copy() when s->max_blocksize is 0

This is normal, and happens when no extradata was available at decoder
initialization.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/flacdec.c