diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2001-09-16 21:48:59 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2001-09-16 21:48:59 +0000 |
commit | 813cae4bc48fdd035f96cf676b600096f66fcf96 (patch) | |
tree | 8ad65fd6527021200da1a63ec3d6fb91fa8cef64 /libav | |
parent | 84a02cdd684f7d2d7f0c9b3493b9e50e40ab76a9 (diff) | |
download | ffmpeg-813cae4bc48fdd035f96cf676b600096f66fcf96.tar.gz |
image number handling
Originally committed as revision 126 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav')
-rw-r--r-- | libav/avformat.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libav/avformat.h b/libav/avformat.h index d1b4ce5618..298a5b513a 100644 --- a/libav/avformat.h +++ b/libav/avformat.h @@ -62,7 +62,8 @@ typedef struct AVFormat { origin is defined by the stream */ int (*read_seek)(struct AVFormatContext *, INT64 pts); int flags; -#define AVFMT_NOFILE 0x0001 /* no file should be opened */ +#define AVFMT_NOFILE 0x0001 /* no file should be opened */ +#define AVFMT_NEEDNUMBER 0x0002 /* needs '%d' in filename */ struct AVFormat *next; } AVFormat; @@ -194,3 +195,5 @@ void ffm_set_write_index(AVFormatContext *s, offset_t pos, offset_t file_size); int find_info_tag(char *arg, int arg_size, const char *tag1, const char *info); +int get_frame_filename(char *buf, int buf_size, + const char *path, int number); |