[mpp]: return get_frame error on non-block mode

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@373 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-10-12 23:21:50 +00:00
parent 15dcc0217b
commit eb3236c8d1
2 changed files with 6 additions and 3 deletions

View File

@@ -199,9 +199,10 @@ MPP_RET Mpp::get_frame(MppFrame *frame)
prev = next;
}
}
*frame = first;
return MPP_OK;
}
*frame = first;
return MPP_OK;
return MPP_NOK;
}
MPP_RET Mpp::put_frame(MppFrame frame)