[FFmpeg-cvslog] pcm-dvd: Fix build on big endian

Martin Storsjö git at videolan.org
Sun Sep 1 13:06:58 CEST 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sat Aug 31 17:35:33 2013 +0200| [789cd1de99cd272c02b2d960cfa08f9ecfe981d7] | committer: Michael Niedermayer

pcm-dvd: Fix build on big endian

Signed-off-by: Martin Storsjö <martin at martin.st>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=789cd1de99cd272c02b2d960cfa08f9ecfe981d7
---

 libavcodec/pcm-dvd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/pcm-dvd.c b/libavcodec/pcm-dvd.c
index b34b748..f3f02cf 100644
--- a/libavcodec/pcm-dvd.c
+++ b/libavcodec/pcm-dvd.c
@@ -162,7 +162,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 {



More information about the ffmpeg-cvslog mailing list