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:
c58e8bd
)
atrac3dec: cosmetics: indentation
author
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 2 Oct 2008 21:17:33 +0000
(21:17 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 2 Oct 2008 21:17:33 +0000
(21:17 +0000)
Originally committed as revision 15530 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/atrac3.c
patch
|
blob
|
history
diff --git
a/libavcodec/atrac3.c
b/libavcodec/atrac3.c
index 9a9f8ae3b683ec4e35e8664de37cc231d6c6e768..7c6ba586c7fc66788680f9b5bcf92a19d2d52c13 100644
(file)
--- a/
libavcodec/atrac3.c
+++ b/
libavcodec/atrac3.c
@@
-799,9
+799,9
@@
static int decodeFrame(ATRAC3Context *q, const uint8_t* databuf)
if (databuf == q->decoded_bytes_buffer) {
uint8_t *ptr2 = q->decoded_bytes_buffer+q->bytes_per_frame-1;
ptr1 = q->decoded_bytes_buffer;
- for (i = 0; i < (q->bytes_per_frame/2); i++, ptr1++, ptr2--) {
- FFSWAP(uint8_t,*ptr1,*ptr2);
- }
+
for (i = 0; i < (q->bytes_per_frame/2); i++, ptr1++, ptr2--) {
+
FFSWAP(uint8_t,*ptr1,*ptr2);
+
}
} else {
const uint8_t *ptr2 = databuf+q->bytes_per_frame-1;
for (i = 0; i < q->bytes_per_frame; i++)