Make ffmpeg support generic data stream

The patch is the first step to support -dcodec copy
This commit is contained in:
Luca Barbato
2011-04-14 13:32:36 +02:00
parent 4773d90421
commit e3b540b424
3 changed files with 80 additions and 7 deletions

View File

@ -122,6 +122,7 @@ typedef struct {
#define OPT_FUNC2 0x0400
#define OPT_INT64 0x0800
#define OPT_EXIT 0x1000
#define OPT_DATA 0x2000
union {
void (*func_arg)(const char *); //FIXME passing error code as int return would be nicer then exit() in the func
int *int_arg;