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:
8997bb8
)
bink: set audio stream codec_tag such that binkaudio decoder can identify bitstream...
author
Peter Ross
<pross@xvid.org>
Sun, 20 Feb 2011 01:24:09 +0000
(12:24 +1100)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Fri, 25 Feb 2011 20:24:35 +0000
(15:24 -0500)
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavformat/bink.c
patch
|
blob
|
history
diff --git
a/libavformat/bink.c
b/libavformat/bink.c
index
0087320
..
60f4081
100644
(file)
--- a/
libavformat/bink.c
+++ b/
libavformat/bink.c
@@
-134,7
+134,7
@@
static int read_header(AVFormatContext *s, AVFormatParameters *ap)
if (!ast)
return AVERROR(ENOMEM);
ast->codec->codec_type = AVMEDIA_TYPE_AUDIO;
- ast->codec->codec_tag =
0
;
+ ast->codec->codec_tag =
vst->codec->codec_tag
;
ast->codec->sample_rate = avio_rl16(pb);
av_set_pts_info(ast, 64, 1, ast->codec->sample_rate);
flags = avio_rl16(pb);