diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-24 00:33:40 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-27 02:23:43 +0200 |
commit | 7360e97e4beec13ef5aa87657490d8f272be9f26 (patch) | |
tree | 3e400f75d6f49cee2dcc9bd68a32ac7e4b311e61 /libavcodec/pcm-dvdenc.c | |
parent | 52dcf0e0f56b4a696ba134221c03facdc166c7fc (diff) |
avcodec/(dca|tta|pcm-bluray|pcm-dvd|wavpack)enc: Set pts+dur generically
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/pcm-dvdenc.c')
-rw-r--r-- | libavcodec/pcm-dvdenc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/pcm-dvdenc.c b/libavcodec/pcm-dvdenc.c index a7023d148f..4bc635ab1f 100644 --- a/libavcodec/pcm-dvdenc.c +++ b/libavcodec/pcm-dvdenc.c @@ -24,7 +24,6 @@ #include "bytestream.h" #include "codec_internal.h" #include "encode.h" -#include "internal.h" typedef struct PCMDVDContext { uint8_t header[3]; // Header added to every frame @@ -167,8 +166,6 @@ static int pcm_dvd_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, break; } - avpkt->pts = frame->pts; - avpkt->duration = ff_samples_to_time_base(avctx, frame->nb_samples); *got_packet_ptr = 1; return 0; |