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:
ebb61f8
)
Set the correct number of samples for E-AC-3 in the AC3 parser.
author
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 20 Feb 2009 22:00:41 +0000
(22:00 +0000)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Fri, 20 Feb 2009 22:00:41 +0000
(22:00 +0000)
Originally committed as revision 17472 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3_parser.c
b/libavcodec/ac3_parser.c
index
e78deb2
..
baa18fd
100644
(file)
--- a/
libavcodec/ac3_parser.c
+++ b/
libavcodec/ac3_parser.c
@@
-174,7
+174,7
@@
static int ac3_sync(uint64_t state, AACAC3ParseContext *hdr_info,
hdr_info->sample_rate = hdr.sample_rate;
hdr_info->bit_rate = hdr.bit_rate;
hdr_info->channels = hdr.channels;
- hdr_info->samples =
AC3_FRAME_SIZE
;
+ hdr_info->samples =
hdr.num_blocks * 256
;
if(hdr.bitstream_id>10)
hdr_info->codec_id = CODEC_ID_EAC3;
else