[FFmpeg-cvslog] h264: fix integer avoption types

Michael Niedermayer git at videolan.org
Sun Oct 7 03:21:12 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct  7 03:13:31 2012 +0200| [3c9502b0f68a9bd79b38f8390a66b69737014d35] | committer: Michael Niedermayer

h264: fix integer avoption types

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 9a2d9d7..ca32b70 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -4198,8 +4198,8 @@ static const AVProfile profiles[] = {
 };
 
 static const AVOption h264_options[] = {
-    {"is_avc", "is avc", offsetof(H264Context, is_avc), FF_OPT_TYPE_INT, {.dbl = 0}, 0, 1, 0},
-    {"nal_length_size", "nal_length_size", offsetof(H264Context, nal_length_size), FF_OPT_TYPE_INT, {.dbl = 0}, 0, 4, 0},
+    {"is_avc", "is avc", offsetof(H264Context, is_avc), FF_OPT_TYPE_INT, {.i64 = 0}, 0, 1, 0},
+    {"nal_length_size", "nal_length_size", offsetof(H264Context, nal_length_size), FF_OPT_TYPE_INT, {.i64 = 0}, 0, 4, 0},
     {NULL}
 };
 



More information about the ffmpeg-cvslog mailing list