diff options
author | Marton Balint <cus@passwd.hu> | 2016-06-11 21:18:40 +0300 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2016-06-20 01:27:26 +0300 |
commit | 517fe64406d4b0f5ae2b1428f17063ac7a1643aa (patch) | |
tree | 7223b80899d26844a5e1e0fc0fe6eab2ddb3e8eb /libavformat/internal.h | |
parent | b577d4218385667921ed01ed5785dcb37a459b9f (diff) |
avformat/mux: do not call write_header multiple times if it fails the first time
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 40ba0899b5..b6c2020386 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -124,6 +124,7 @@ struct AVFormatInternal { * Whether or not a header has already been written */ int header_written; + int write_header_ret; }; struct AVStreamInternal { |