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:
e96dc76
)
cosmetics: line wrap and vertical alignment
author
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 23 Dec 2010 18:01:29 +0000
(18:01 +0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 23 Dec 2010 18:01:29 +0000
(18:01 +0000)
Originally committed as revision 26084 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3enc.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3enc.c
b/libavcodec/ac3enc.c
index
3908447
..
94fafbc
100644
(file)
--- a/
libavcodec/ac3enc.c
+++ b/
libavcodec/ac3enc.c
@@
-1587,8
+1587,7
@@
static void output_frame_end(AC3EncodeContext *s)
/* compute crc1 */
/* this is not so easy because it is at the beginning of the data... */
- crc1 = av_bswap16(av_crc(crc_ctx, 0,
- frame + 4, frame_size_58 - 4));
+ crc1 = av_bswap16(av_crc(crc_ctx, 0, frame + 4, frame_size_58 - 4));
crc_inv = s->crc_inv[s->frame_size > s->frame_size_min];
crc1 = mul_poly(crc_inv, crc1, CRC16_POLY);
AV_WB16(frame + 2, crc1);