diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-08-12 21:28:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-09-11 23:17:31 +0200 |
commit | cb114ed464069ac83f05a4ebdfe992e8f1549815 (patch) | |
tree | 380e2c4845b1f7ddf4d35d4d26670373a2d3cfa5 /libavformat/options.c | |
parent | 09317e3e06d7126337c2311ecf8bb7762369c110 (diff) |
avformat/mux: implement AVFMT_FLAG_SHORTEST
This will allow fixing several bugs with the -shortest option
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/options.c')
-rw-r--r-- | libavformat/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index 04d9c454d3..25a506eef8 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -143,6 +143,7 @@ AVFormatContext *avformat_alloc_context(void) } ic->internal->offset = AV_NOPTS_VALUE; ic->internal->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE; + ic->internal->shortest_end = AV_NOPTS_VALUE; return ic; } |