Changeset 403 in flair-src for trunk/lib/FlairCore/src/Image.cpp


Ignore:
Timestamp:
Mar 23, 2021, 9:40:41 AM (6 months ago)
Author:
Sanahuja Guillaume
Message:

select user memory pointer (v4l) if using custom alloc function in images (ie if initdsp was called)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/Image.cpp

    r401 r403  
    8080}
    8181
     82bool Image::IsUsingDefaultAllocAndFree(void) {
     83    return (allocFunction==DefaultAllocFunction);
     84}
     85
    8286char* Image::DefaultAllocFunction(ssize_t size){
    8387  return (char*)malloc(size);
Note: See TracChangeset for help on using the changeset viewer.