FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
avstring.c File Reference
#include <stdio.h>
#include "libavutil/common.h"
#include "libavutil/mem.h"
#include "libavutil/avstring.h"

Go to the source code of this file.

Macros

#define TEST_APPEND_PATH_COMPONENT(path, component, expected)
 

Functions

int main (void)
 

Macro Definition Documentation

#define TEST_APPEND_PATH_COMPONENT (   path,
  component,
  expected 
)
Value:
fullpath = av_append_path_component((path), (component)); \
printf("%s = %s\n", fullpath ? fullpath : "(null)", expected); \
av_free(fullpath);
char * av_append_path_component(const char *path, const char *component)
Append path component to the existing path.
Definition: avstring.c:272
#define av_free(p)

Referenced by main().

Function Documentation

int main ( void  )

Definition at line 25 of file avstring.c.