projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc09a7
)
simplification
author
Alex Beregszaszi
<alex@rtfs.hu>
Wed, 7 Mar 2007 00:29:51 +0000
(
00:29
+0000)
committer
Alex Beregszaszi
<alex@rtfs.hu>
Wed, 7 Mar 2007 00:29:51 +0000
(
00:29
+0000)
Originally committed as revision 8275 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/vocdec.c
patch
|
blob
|
history
diff --git
a/libavformat/vocdec.c
b/libavformat/vocdec.c
index
bc9205f
..
85d304d
100644
(file)
--- a/
libavformat/vocdec.c
+++ b/
libavformat/vocdec.c
@@
-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
@@
voc_get_packet(AVFormatContext *s, AVPacket *pkt, AVStream *st, int max_size)
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);