git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c433823
)
wv: use right function to read block_samples
author
Paul B Mahol
<onemda@gmail.com>
Mon, 12 Nov 2012 15:48:54 +0000
(15:48 +0000)
committer
Paul B Mahol
<onemda@gmail.com>
Mon, 12 Nov 2012 15:50:04 +0000
(15:50 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/wv.c
patch
|
blob
|
history
diff --git
a/libavformat/wv.c
b/libavformat/wv.c
index
cf410c0
..
97a6c1f
100644
(file)
--- a/
libavformat/wv.c
+++ b/
libavformat/wv.c
@@
-341,7
+341,7
@@
static int wv_read_packet(AVFormatContext *s, AVPacket *pkt)
pkt->stream_index = 0;
wc->block_parsed = 1;
pkt->pts = wc->soff;
- block_samples = AV_R
N
32(wc->extra);
+ block_samples = AV_R
L
32(wc->extra);
if (block_samples > INT32_MAX)
av_log(s, AV_LOG_WARNING,
"Too many samples in block: %"PRIu32"\n", block_samples);