Revision 777b365c

View differences:

libavformat/bink.c
134 134
            if (!ast)
135 135
                return AVERROR(ENOMEM);
136 136
            ast->codec->codec_type  = AVMEDIA_TYPE_AUDIO;
137
            ast->codec->codec_tag   = 0;
137
            ast->codec->codec_tag   = vst->codec->codec_tag;
138 138
            ast->codec->sample_rate = avio_rl16(pb);
139 139
            av_set_pts_info(ast, 64, 1, ast->codec->sample_rate);
140 140
            flags = avio_rl16(pb);

Also available in: Unified diff