diff mbox

[FFmpeg-devel] avformat/options_table: Change the seek2any location in opt table.

Message ID 7e290454-3fb0-4cd5-e73f-a1066ba1818c@gmail.com
State Accepted
Commit c6c20249e724e1db37af72815742c0cd520d4756
Headers show

Commit Message

Jun Zhao April 1, 2018, 11:08 p.m. UTC
From 2fcdbfe24d82b3d287d6f4f70144bc2ee16820dc Mon Sep 17 00:00:00 2001
From: Jun Zhao <mypopydev@gmail.com>
Date: Sun, 1 Apr 2018 15:53:11 +0800
Subject: [PATCH] avformat/options_table: Change the seek2any location in opt
 table.

Change the seek2any location in avformat_options to make code more
readable.

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
---
 libavformat/options_table.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer April 1, 2018, 11:27 p.m. UTC | #1
On Mon, Apr 02, 2018 at 07:08:24AM +0800, Jun Zhao wrote:
> 

>  options_table.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 01d5e71dc3ed316593e35a9f7d973331b04bc65a  0001-avformat-options_table-Change-the-seek2any-location-.patch
> From 2fcdbfe24d82b3d287d6f4f70144bc2ee16820dc Mon Sep 17 00:00:00 2001
> From: Jun Zhao <mypopydev@gmail.com>
> Date: Sun, 1 Apr 2018 15:53:11 +0800
> Subject: [PATCH] avformat/options_table: Change the seek2any location in opt
>  table.
> 
> Change the seek2any location in avformat_options to make code more
> readable.

will apply

thanks

[...]
diff mbox

Patch

diff --git a/libavformat/options_table.h b/libavformat/options_table.h
index b8fa47c6fd..7c4d84798e 100644
--- a/libavformat/options_table.h
+++ b/libavformat/options_table.h
@@ -54,10 +54,10 @@  static const AVOption avformat_options[] = {
 {"fastseek", "fast but inaccurate seeks", 0, AV_OPT_TYPE_CONST, {.i64 = AVFMT_FLAG_FAST_SEEK }, INT_MIN, INT_MAX, D, "fflags"},
 {"latm", "enable RTP MP4A-LATM payload", 0, AV_OPT_TYPE_CONST, {.i64 = AVFMT_FLAG_MP4A_LATM }, INT_MIN, INT_MAX, E, "fflags"},
 {"nobuffer", "reduce the latency introduced by optional buffering", 0, AV_OPT_TYPE_CONST, {.i64 = AVFMT_FLAG_NOBUFFER }, 0, INT_MAX, D, "fflags"},
-{"seek2any", "allow seeking to non-keyframes on demuxer level when supported", OFFSET(seek2any), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, D},
 {"bitexact", "do not write random/volatile data", 0, AV_OPT_TYPE_CONST, { .i64 = AVFMT_FLAG_BITEXACT }, 0, 0, E, "fflags" },
 {"shortest", "stop muxing with the shortest stream", 0, AV_OPT_TYPE_CONST, { .i64 = AVFMT_FLAG_SHORTEST }, 0, 0, E, "fflags" },
 {"autobsf", "add needed bsfs automatically", 0, AV_OPT_TYPE_CONST, { .i64 = AVFMT_FLAG_AUTO_BSF }, 0, 0, E, "fflags" },
+{"seek2any", "allow seeking to non-keyframes on demuxer level when supported", OFFSET(seek2any), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, D},
 {"analyzeduration", "specify how many microseconds are analyzed to probe the input", OFFSET(max_analyze_duration), AV_OPT_TYPE_INT64, {.i64 = 0 }, 0, INT64_MAX, D},
 {"cryptokey", "decryption key", OFFSET(key), AV_OPT_TYPE_BINARY, {.dbl = 0}, 0, 0, D},
 {"indexmem", "max memory used for timestamp index (per stream)", OFFSET(max_index_size), AV_OPT_TYPE_INT, {.i64 = 1<<20 }, 0, INT_MAX, D},