Commit 51c1e255 authored by Nicolas George's avatar Nicolas George

oggparsecelt: call av_set_pts_info unconditionally.

Signed-off-by: 's avatarNicolas George <nicolas.george@normalesup.org>
parent 46f83e5b
......@@ -71,8 +71,7 @@ static int celt_header(AVFormatContext *s, int idx)
st->codec->sample_fmt = AV_SAMPLE_FMT_S16;
st->codec->extradata = extradata;
st->codec->extradata_size = 2 * sizeof(uint32_t);
if (sample_rate)
av_set_pts_info(st, 64, 1, sample_rate);
av_set_pts_info(st, 64, 1, sample_rate);
priv->extra_headers_left = 1 + extra_headers;
os->private = priv;
AV_WL32(extradata + 0, overlap);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment