mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 10:00:08 +01:00
lavf/segment: remove unused offset variable
This commit is contained in:
@@ -39,7 +39,6 @@ typedef struct {
|
|||||||
int list_size; ///< number of entries for the segment list file
|
int list_size; ///< number of entries for the segment list file
|
||||||
float time; ///< segment duration
|
float time; ///< segment duration
|
||||||
int wrap; ///< number after which the index wraps
|
int wrap; ///< number after which the index wraps
|
||||||
int64_t offset_time;
|
|
||||||
int64_t recording_time;
|
int64_t recording_time;
|
||||||
int has_video;
|
int has_video;
|
||||||
AVIOContext *pb;
|
AVIOContext *pb;
|
||||||
@@ -129,7 +128,6 @@ static int seg_write_header(AVFormatContext *s)
|
|||||||
int ret, i;
|
int ret, i;
|
||||||
|
|
||||||
seg->number = 0;
|
seg->number = 0;
|
||||||
seg->offset_time = 0;
|
|
||||||
seg->recording_time = seg->time * 1000000;
|
seg->recording_time = seg->time * 1000000;
|
||||||
|
|
||||||
oc = avformat_alloc_context();
|
oc = avformat_alloc_context();
|
||||||
|
|||||||
Reference in New Issue
Block a user