khronosfws/openmax_al/src/mediaplayer/xaseekitf.c
changeset 55 e267340986c9
parent 47 c2e43643db4c
equal deleted inserted replaced
52:4ce423f34688 55:e267340986c9
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #include <stdio.h>
    18 #include <stdio.h>
    19 #include <stdlib.h>
    19 #include <stdlib.h>
    20 #include <assert.h>
       
    21 
    20 
    22 #include "xaseekitf.h"
    21 #include "xaseekitf.h"
    23 #include "xathreadsafety.h"
    22 #include "xathreadsafety.h"
    24 #include "xaplayitfadaptationmmf.h"
    23 #include "xaplayitfadaptationmmf.h"
    25 #include "xaseekitfadaptationmmf.h"
    24 #include "xaseekitfadaptationmmf.h"
   242 void XASeekItfImpl_Free(XASeekItfImpl* self)
   241 void XASeekItfImpl_Free(XASeekItfImpl* self)
   243     {
   242     {
   244     DEBUG_API("->XASeekItfImpl_Free");
   243     DEBUG_API("->XASeekItfImpl_Free");
   245     if(self)
   244     if(self)
   246         {
   245         {
   247         assert(self==self->self);
       
   248         free(self);
   246         free(self);
   249         }
   247         }
   250     DEBUG_API("<-XASeekItfImpl_Free");
   248     DEBUG_API("<-XASeekItfImpl_Free");
   251     }
   249     }