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:
f4ca970
)
pcm-dvd: Fix build on big endian
author
Martin Storsjö
<martin@martin.st>
Sat, 31 Aug 2013 15:35:33 +0000
(17:35 +0200)
committer
Martin Storsjö
<martin@martin.st>
Sat, 31 Aug 2013 16:06:26 +0000
(18:06 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/pcm-dvd.c
patch
|
blob
|
history
diff --git
a/libavcodec/pcm-dvd.c
b/libavcodec/pcm-dvd.c
index
8e88ad4
..
9fd6d13
100644
(file)
--- a/
libavcodec/pcm-dvd.c
+++ b/
libavcodec/pcm-dvd.c
@@
-160,7
+160,7
@@
static void *pcm_dvd_decode_samples(AVCodecContext *avctx, const uint8_t *src,
case 16:
#if HAVE_BIGENDIAN
bytestream2_get_buffer(&gb, dst16, blocks * s->block_size);
- dst16 += blocks * block_size / 2;
+ dst16 += blocks *
s->
block_size / 2;
#else
samples = blocks * avctx->channels;
do {