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:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-05 21:47:29 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-03 21:50:50 +0300
commitc128bffa05a9ed39685edb6fc7eb41d596212531 (patch)
treee78c601466a02814179dc32cc2753ec6798b6d00 /libavformat/asfenc.c
parent2ce6a9f8470f75b8c12c7a21ecc724f1140d8c62 (diff)
avformat/asfenc: Remove unused fields from ASFStream
It has never been done in b08569a23948db107e5e6175cd4c695427d5339d, 30b8f3e7dcd0318b91e205dcbf774ef92fb6193c. After this change, this muxer does no longer use sizeof(AVPacket). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/asfenc.c')
-rw-r--r--libavformat/asfenc.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c
index a0510df7dc..8babd759f5 100644
--- a/libavformat/asfenc.c
+++ b/libavformat/asfenc.c
@@ -186,36 +186,11 @@
#define PACKET_SIZE_MAX 65536
#define PACKET_SIZE_MIN 100
-typedef struct ASFPayload {
- uint8_t type;
- uint16_t size;
-} ASFPayload;
-
typedef struct ASFStream {
int num;
unsigned char seq;
- /* use for reading */
- AVPacket pkt;
- int frag_offset;
- int packet_obj_size;
- int timestamp;
- int64_t duration;
- int skip_to_key;
- int pkt_clean;
-
- int ds_span; /* descrambling */
- int ds_packet_size;
- int ds_chunk_size;
-
- int64_t packet_pos;
uint16_t stream_language_index;
-
- int palette_changed;
- uint32_t palette[256];
-
- int payload_ext_ct;
- ASFPayload payload[8];
} ASFStream;
typedef struct ASFContext {