bundle/ffmpeg/libavformat/mpegtsenc.c
/* NOTE: str == NULL is accepted for an empty string */
str == NULL is accepted for an empty string
str == NULL is accepted for an empty string
static void putstr8(uint8_t **q_ptr, const char *str)
{
    uint8_t *q;
    int len;
    q = *q_ptr;
    if (!str)
        len = 0;
    else
        len = strlen(str);
    *q++ = len;
    memcpy(q, str, len);
    q += len;
    *q_ptr = q;
}
static void putstr8 ( uint8_t * * q_ptr , const char * str ) { uint8_t * q ; int len ; q = * q_ptr ; if ( ! str ) len = 0 ; else len = strlen ( str ) ; * q ++ = len ; memcpy ( q , str , len ) ; q += len ; * q_ptr = q ; }
NOTE: str == NULL is accepted for an empty string
NOTE : str == NULL is accepted for an empty string