Signed-off-by: Guo, Yejun <yejun....@intel.com> --- libavfilter/dnn/queue.c | 8 ++++---- libavfilter/dnn/safe_queue.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/libavfilter/dnn/queue.c b/libavfilter/dnn/queue.c index 0a07c5473d..da0517968d 100644 --- a/libavfilter/dnn/queue.c +++ b/libavfilter/dnn/queue.c @@ -25,17 +25,17 @@ typedef struct _queue_entry queue_entry; -typedef struct _queue { +struct _queue { queue_entry *head; queue_entry *tail; size_t length; -}queue; +}; -typedef struct _queue_entry { +struct _queue_entry { void *value; queue_entry *prev; queue_entry *next; -} queue_entry; +}; static inline queue_entry *create_entry(void *val) { diff --git a/libavfilter/dnn/safe_queue.c b/libavfilter/dnn/safe_queue.c index dba2e0fbbc..4298048454 100644 --- a/libavfilter/dnn/safe_queue.c +++ b/libavfilter/dnn/safe_queue.c @@ -25,11 +25,11 @@ #include "libavutil/avassert.h" #include "libavutil/thread.h" -typedef struct _safe_queue { +struct _safe_queue { queue *q; pthread_mutex_t mutex; pthread_cond_t cond; -}safe_queue; +}; safe_queue *safe_queue_create(void) { -- 2.17.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".