mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 10:00:08 +01:00
avformat/mux: Don't allocate priv_pts separately
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -33,10 +33,7 @@
|
||||
#if FF_API_GET_END_PTS
|
||||
int64_t av_stream_get_end_pts(const AVStream *st)
|
||||
{
|
||||
if (cffstream(st)->priv_pts) {
|
||||
return cffstream(st)->priv_pts->val;
|
||||
} else
|
||||
return AV_NOPTS_VALUE;
|
||||
return cffstream(st)->priv_pts.val;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user