Commit e48aa56f authored by reimar's avatar reimar

Attempt to better document AVFMT_NOFILE.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7590 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3495249e
......@@ -128,7 +128,8 @@ typedef struct AVFormatParameters {
enum CodecID audio_codec_id;
} AVFormatParameters;
#define AVFMT_NOFILE 0x0001 /* no file should be opened */
//! demuxer will use url_fopen, no opened file should be provided by the caller
#define AVFMT_NOFILE 0x0001
#define AVFMT_NEEDNUMBER 0x0002 /* needs '%d' in filename */
#define AVFMT_SHOW_IDS 0x0008 /* show format stream IDs numbers */
#define AVFMT_RAWPICTURE 0x0020 /* format wants AVPicture structure for
......
......@@ -270,6 +270,9 @@ int av_filename_number_test(const char *filename)
/**
* Guess file format.
*
* @param is_opened whether the file is already opened, determines whether
* demuxers with or without AVFMT_NOFILE are probed
*/
AVInputFormat *av_probe_input_format(AVProbeData *pd, int is_opened)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment