[FFmpeg-cvslog] lavf/img2dec: sort options by name

Stefano Sabatini git at videolan.org
Sun Aug 5 00:40:11 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Aug  4 12:45:09 2012 +0200| [2dfee8abf1529a67f87e823de69d816775648d16] | committer: Stefano Sabatini

lavf/img2dec: sort options by name

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2dfee8abf1529a67f87e823de69d816775648d16
---

 libavformat/img2dec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index e09adc0..692331c 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -383,11 +383,11 @@ static int read_close(struct AVFormatContext* s1)
 #define OFFSET(x) offsetof(VideoDemuxData, x)
 #define DEC AV_OPT_FLAG_DECODING_PARAM
 static const AVOption options[] = {
-    { "pixel_format", "", OFFSET(pixel_format), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC },
-    { "video_size",   "", OFFSET(video_size),   AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC },
     { "framerate",    "", OFFSET(framerate),    AV_OPT_TYPE_STRING, {.str = "25"}, 0, 0, DEC },
     { "loop",         "", OFFSET(loop),         AV_OPT_TYPE_INT,    {.dbl = 0},    0, 1, DEC },
+    { "pixel_format", "", OFFSET(pixel_format), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC },
     { "start_number", "first number in the sequence", OFFSET(start_number), AV_OPT_TYPE_INT, {.dbl = 0}, 0, INT_MAX, DEC },
+    { "video_size",   "", OFFSET(video_size),   AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC },
     { NULL },
 };
 



More information about the ffmpeg-cvslog mailing list