lavc/bsf: move IS_EMPTY() to packet_internal()

It will be useful in other places.
This commit is contained in:
Anton Khirnov
2023-06-24 13:10:08 +02:00
parent c4332dfda9
commit 0f957cfba2
2 changed files with 7 additions and 6 deletions

View File

@@ -23,6 +23,8 @@
#include "packet.h"
#define AVPACKET_IS_EMPTY(pkt) (!(pkt)->data && !(pkt)->side_data_elems)
typedef struct PacketListEntry {
struct PacketListEntry *next;
AVPacket pkt;