提交 0e6a8b5c 编写于 作者: J Justin Ruggles

aud: set pts_wrap_bits to 64.

Time stamps are not read from the bitstream, so no wrapping is needed.
上级 98c290cc
......@@ -117,7 +117,7 @@ static int wsaud_read_header(AVFormatContext *s,
st = avformat_new_stream(s, NULL);
if (!st)
return AVERROR(ENOMEM);
avpriv_set_pts_info(st, 33, 1, wsaud->audio_samplerate);
avpriv_set_pts_info(st, 64, 1, wsaud->audio_samplerate);
st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
st->codec->codec_id = wsaud->audio_type;
st->codec->codec_tag = 0; /* no tag */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册