mirror of
				https://github.com/nyanmisaka/mpp.git
				synced 2025-10-31 04:26:39 +08:00 
			
		
		
		
	[buf_slot]: fix mpp_buf_slot_dequeue type error
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@337 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
		| @@ -599,10 +599,10 @@ MPP_RET mpp_buf_slot_dequeue(MppBufSlots slots, RK_U32 *index, SlotQueueType typ | ||||
|  | ||||
|     MppBufSlotsImpl *impl = (MppBufSlotsImpl *)slots; | ||||
|     Mutex::Autolock auto_lock(impl->lock); | ||||
|     if (list_empty(&impl->queue[QUEUE_DISPLAY])) | ||||
|     if (list_empty(&impl->queue[type])) | ||||
|         return MPP_NOK; | ||||
|  | ||||
|     MppBufSlotEntry *slot = list_entry(impl->queue[QUEUE_DISPLAY].next, MppBufSlotEntry, list); | ||||
|     MppBufSlotEntry *slot = list_entry(impl->queue[type].next, MppBufSlotEntry, list); | ||||
|     if (slot->status.not_ready) | ||||
|         return MPP_NOK; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ChenHengming
					ChenHengming