mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
avcodec/packet_internal: Add proper PacketList struct
Up until now, we had a PacketList structure which is actually a PacketListEntry; a proper PacketList did not exist and all the related functions just passed pointers to pointers to the head and tail elements around. All these pointers were actually consecutive elements of their containing structs, i.e. the users already treated them as if they were a struct. So add a proper PacketList struct and rename the current PacketList to PacketListEntry; also make the functions use this structure instead of the pair of pointers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -167,7 +167,7 @@ typedef struct MOVTrack {
|
||||
|
||||
unsigned int squash_fragment_samples_to_one; //< flag to note formats where all samples for a fragment are to be squashed
|
||||
|
||||
PacketList *squashed_packet_queue, *squashed_packet_queue_end;
|
||||
PacketList squashed_packet_queue;
|
||||
} MOVTrack;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user