mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[mpp]: Remove RKPLATFORM macro
Mpp will only run under Linux environment. Windows support will be removed. Change-Id: I52de4bd69f6d7b34507edeb6642668e225fcbd38 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -188,12 +188,9 @@ int mpp_buffer_get_fd_with_caller(MppBuffer buffer, const char *caller)
|
||||
|
||||
MppBufferImpl *p = (MppBufferImpl*)buffer;
|
||||
int fd = p->info.fd;
|
||||
|
||||
#ifdef RKPLATFORM
|
||||
mpp_assert(fd >= 0);
|
||||
if (fd < 0)
|
||||
mpp_err("mpp_buffer_get_fd buffer %p fd %d caller %s\n", buffer, fd, caller);
|
||||
#endif
|
||||
|
||||
return fd;
|
||||
}
|
||||
|
Reference in New Issue
Block a user