You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
aud: set pts_wrap_bits to 64.
Time stamps are not read from the bitstream, so no wrapping is needed.
This commit is contained in:
@@ -117,7 +117,7 @@ static int wsaud_read_header(AVFormatContext *s,
|
|||||||
st = avformat_new_stream(s, NULL);
|
st = avformat_new_stream(s, NULL);
|
||||||
if (!st)
|
if (!st)
|
||||||
return AVERROR(ENOMEM);
|
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_type = AVMEDIA_TYPE_AUDIO;
|
||||||
st->codec->codec_id = wsaud->audio_type;
|
st->codec->codec_id = wsaud->audio_type;
|
||||||
st->codec->codec_tag = 0; /* no tag */
|
st->codec->codec_tag = 0; /* no tag */
|
||||||
|
Reference in New Issue
Block a user