summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-04 12:04:02 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-08 20:12:47 +0200
commit0b26ef4228671051eef1bba92da37a53e56714da (patch)
tree039a0f94e41add68950ae63e339553254892e384 /avconv.h
parentbed43d58b06938060f6ed01ef90733247a23f362 (diff)
avconv: replace no_packet array in transcode() with a var in InputStream
This simplifies splitting code for reading from input out of transcode().
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/avconv.h b/avconv.h
index 0ee3c138e6..0cc53c5134 100644
--- a/avconv.h
+++ b/avconv.h
@@ -230,6 +230,7 @@ typedef struct InputStream {
typedef struct InputFile {
AVFormatContext *ctx;
int eof_reached; /* true if eof reached */
+ int eagain; /* true if last read attempt returned EAGAIN */
int ist_index; /* index of first stream in ist_table */
int64_t ts_offset;
int nb_streams; /* number of stream that avconv is aware of; may be different