Message ID | 20230125165537.5371-12-anton@khirnov.net |
---|---|
State | Accepted |
Commit | 8a60a9c74c7bfc2772a67d13401a395fe01d5677 |
Headers | show |
Series | [FFmpeg-devel,01/19] lavc/avcodec: improve enc/dec API doxy | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/libtheoraenc.c b/libavcodec/libtheoraenc.c index 73295e22b9..06eeaae006 100644 --- a/libavcodec/libtheoraenc.c +++ b/libavcodec/libtheoraenc.c @@ -346,7 +346,7 @@ static int encode_frame(AVCodecContext* avc_context, AVPacket *pkt, // HACK: assumes no encoder delay, this is true until libtheora becomes // multithreaded (which will be disabled unless explicitly requested) - pkt->pts = pkt->dts = frame->pts; + pkt->pts = frame->pts; pkt->duration = frame->duration; ret = ff_encode_reordered_opaque(avc_context, pkt, frame);