Changeset 3364

Show
Ignore:
Timestamp:
2008-01-20 17:27:10 (10 months ago)
Author:
conrad
Message:

rename private oggz_auto_identify() to oggz_auto_identify_page()
This function is used by oggz_read to identify a bos page as soon as it is
read, before any packet extraction is done. We do this on a page so that the
content-type is known before the user's read_page callback is called.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • liboggz/trunk/src/liboggz/oggz_auto.c

    r3278 r3364  
    893893};  
    894894 
    895 int oggz_auto_identify (OGGZ *oggz, ogg_page *og, long serialno) { 
    896  
     895int 
     896oggz_auto_identify_page (OGGZ *oggz, ogg_page *og, long serialno) 
     897
    897898  int i; 
    898899   
  • liboggz/trunk/src/liboggz/oggz_private.h

    r3322 r3364  
    291291                         ogg_packet * op); 
    292292 
    293 int oggz_auto_identify (OGGZ *oggz, ogg_page *og, long serialno); 
     293int oggz_auto_identify_page (OGGZ *oggz, ogg_page *og, long serialno); 
    294294 
    295295/* comments */ 
  • liboggz/trunk/src/liboggz/oggz_read.c

    r3322 r3364  
    522522 
    523523      /* identify stream type */ 
    524       oggz_auto_identify(oggz, &og, serialno); 
     524      oggz_auto_identify_page (oggz, &og, serialno); 
    525525    } 
    526526    else if (oggz_stream_get_content(oggz, serialno) == OGGZ_CONTENT_ANXDATA) 
     
    529529       * re-identify ANXDATA streams as these are now content streams 
    530530       */ 
    531       oggz_auto_identify(oggz, &og, serialno); 
     531      oggz_auto_identify_page (oggz, &og, serialno); 
    532532    } 
    533533