# HG changeset patch # User alex # Date 1173227391 0 # Node ID 1792b6c5387b27acfd8f8a3954052c6334b3b72f # Parent a6cf9ee93fbb98b758f3cce207b0fe56858d0ad9 simplification diff -r a6cf9ee93fbb -r 1792b6c5387b vocdec.c --- a/vocdec.c Wed Mar 07 00:27:23 2007 +0000 +++ b/vocdec.c Wed Mar 07 00:29:51 2007 +0000 @@ -22,7 +22,6 @@ #include "voc.h" -static const int voc_max_pkt_size = 2048; static int voc_probe(AVProbeData *p) @@ -128,7 +127,7 @@ dec->bit_rate = dec->sample_rate * dec->bits_per_sample; if (max_size <= 0) - max_size = voc_max_pkt_size; + max_size = 2048; size = FFMIN(voc->remaining_size, max_size); voc->remaining_size -= size; return av_get_packet(pb, pkt, size);