Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-06-05 17:12:03 +0300
committerJames Almer <jamrial@gmail.com>2021-06-09 19:55:25 +0300
commit591b88e6787c4e678237f02a50421d101abd25c2 (patch)
tree129253009d5179d64b706069237bc3f8659e3eea /libavformat/rdt.c
parent39affa5f8e70fb364d197242a8c11703d593f012 (diff)
avformat: move AVStream.{first,cur}_dts to AVStreamInternal
They are private fields, no reason to have them exposed in a public header. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/rdt.c')
-rw-r--r--libavformat/rdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rdt.c b/libavformat/rdt.c
index e5824f6a48..da55503ea6 100644
--- a/libavformat/rdt.c
+++ b/libavformat/rdt.c
@@ -415,7 +415,7 @@ rdt_parse_sdp_line (AVFormatContext *s, int st_index,
if (av_strstart(p, "OpaqueData:buffer;", &p)) {
rdt->mlti_data = rdt_parse_b64buf(&rdt->mlti_data_size, p);
} else if (av_strstart(p, "StartTime:integer;", &p))
- stream->first_dts = atoi(p);
+ stream->internal->first_dts = atoi(p);
else if (av_strstart(p, "ASMRuleBook:string;", &p)) {
int n, first = -1;
@@ -465,7 +465,7 @@ add_dstream(AVFormatContext *s, AVStream *orig_st)
return NULL;
st->id = orig_st->id;
st->codecpar->codec_type = orig_st->codecpar->codec_type;
- st->first_dts = orig_st->first_dts;
+ st->internal->first_dts = orig_st->internal->first_dts;
return st;
}