summaryrefslogtreecommitdiff
path: root/libavcodec/v4l2_context.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-09-29 02:28:43 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-10-01 02:37:57 +0200
commitb81b8a76b54cf6c8e4953463117d3c8153e1b067 (patch)
treef6505b52d41cbfc913ce37cc697c5a61d1a6405e /libavcodec/v4l2_context.c
parent4bb80133356b67f5065883d05d474d67cfee1dd8 (diff)
downloadffmpeg-b81b8a76b54cf6c8e4953463117d3c8153e1b067.tar.gz
avcodec/v4l2_context: Reduce spelling variations
Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/v4l2_context.c')
-rw-r--r--libavcodec/v4l2_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c
index d675c55f2b..297792f871 100644
--- a/libavcodec/v4l2_context.c
+++ b/libavcodec/v4l2_context.c
@@ -112,7 +112,7 @@ static inline void v4l2_save_to_context(V4L2Context* ctx, struct v4l2_format_upd
}
/**
- * returns 1 if reinit was succesful, negative if it failed
+ * returns 1 if reinit was successful, negative if it failed
* returns 0 if reinit was not executed
*/
static int v4l2_handle_event(V4L2Context *ctx)
@@ -266,7 +266,7 @@ static V4L2Buffer* v4l2_dequeue_v4l2buf(V4L2Context *ctx, int timeout)
return NULL;
}
if (ret) {
- /* if re-init was successfull drop the buffer (if there was one)
+ /* if re-init was successful drop the buffer (if there was one)
* since we had to reconfigure capture (unmap all buffers)
*/
return NULL;