Tool/software: Linux
if(freeBufCount){
if(!eof)dce_buf_unlock(freeBufCount,decoder->outBuf_fd);
freeBufCount =0;
}
why we skip dec_buf_unlock() when there is eof?
it seems we should do it as well.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
if(freeBufCount){
if(!eof)dce_buf_unlock(freeBufCount,decoder->outBuf_fd);
freeBufCount =0;
}
why we skip dec_buf_unlock() when there is eof?
it seems we should do it as well.