Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
9a00374c
Commit
9a00374c
authored
12 years ago
by
Derek Buitenhuis
Browse files
Options
Downloads
Patches
Plain Diff
doc: Fix a few typos in the developer documentation
Signed-off-by:
Derek Buitenhuis
<
derek.buitenhuis@gmail.com
>
parent
bbae6859
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/developer.texi
+7
-7
7 additions, 7 deletions
doc/developer.texi
with
7 additions
and
7 deletions
doc/developer.texi
+
7
−
7
View file @
9a00374c
...
@@ -27,7 +27,7 @@ audio or video streams.
...
@@ -27,7 +27,7 @@ audio or video streams.
Shared libraries should be used whenever is possible in order to reduce
Shared libraries should be used whenever is possible in order to reduce
the effort distributors have to pour to support programs and to ensure
the effort distributors have to pour to support programs and to ensure
only the public
api
is used.
only the public
API
is used.
You can use Libav in your commercial program, but you must abide to the
You can use Libav in your commercial program, but you must abide to the
license, LGPL or GPL depending on the specific features used, please refer
license, LGPL or GPL depending on the specific features used, please refer
...
@@ -215,13 +215,13 @@ should also be avoided if they don't make the code easier to understand.
...
@@ -215,13 +215,13 @@ should also be avoided if they don't make the code easier to understand.
In order to configure Vim to follow Libav formatting conventions, paste
In order to configure Vim to follow Libav formatting conventions, paste
the following snippet into your @file
{
.vimrc
}
:
the following snippet into your @file
{
.vimrc
}
:
@example
@example
"
i
ndentation rules for
l
ibav: 4 spaces, no tabs
"
I
ndentation rules for
L
ibav: 4 spaces, no tabs
.
set expandtab
set expandtab
set shiftwidth=4
set shiftwidth=4
set softtabstop=4
set softtabstop=4
set cindent
set cindent
set cinoptions=(0
set cinoptions=(0
"
a
llow tabs in Makefiles
"
A
llow tabs in Makefiles
.
autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=8
autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=8
" Trailing whitespace and tabs are forbidden, so highlight them.
" Trailing whitespace and tabs are forbidden, so highlight them.
highlight ForbiddenWhitespace ctermbg=red guibg=red
highlight ForbiddenWhitespace ctermbg=red guibg=red
...
@@ -265,8 +265,8 @@ For Emacs, add these roughly equivalent lines to your @file{.emacs.d/init.el}:
...
@@ -265,8 +265,8 @@ For Emacs, add these roughly equivalent lines to your @file{.emacs.d/init.el}:
in the commit.
in the commit.
@item
@item
The commit message should have a short first line in the form of
The commit message should have a short first line in the form of
@samp
{
topic: short description
}
as header, separated by a newline
a
@samp
{
topic: short description
}
as
a
header, separated by a newline
from the body consting
in few lines explaining the reason of the patch
.
from the body cons
is
ting
of an explanation of why the change is necessary
.
Referring to the issue on the bug tracker does not exempt to report an
Referring to the issue on the bug tracker does not exempt to report an
excerpt of the bug.
excerpt of the bug.
@item
@item
...
@@ -315,7 +315,7 @@ For Emacs, add these roughly equivalent lines to your @file{.emacs.d/init.el}:
...
@@ -315,7 +315,7 @@ For Emacs, add these roughly equivalent lines to your @file{.emacs.d/init.el}:
@item
@item
Never write to unallocated memory, never write over the end of arrays,
Never write to unallocated memory, never write over the end of arrays,
always check values read from some untrusted source before using them
always check values read from some untrusted source before using them
as array index or other risky things. Always use valgrind to doublecheck.
as array index or other risky things. Always use valgrind to double
-
check.
@item
@item
Remember to check if you need to bump versions for the specific libav
Remember to check if you need to bump versions for the specific libav
parts (libavutil, libavcodec, libavformat) you are changing. You need
parts (libavutil, libavcodec, libavformat) you are changing. You need
...
@@ -407,7 +407,7 @@ send a reminder by email. Your patch should eventually be dealt with.
...
@@ -407,7 +407,7 @@ send a reminder by email. Your patch should eventually be dealt with.
When adding new codec IDs, also add an entry to the codec descriptor
When adding new codec IDs, also add an entry to the codec descriptor
list in @file
{
libavcodec/codec
_
desc.c
}
.
list in @file
{
libavcodec/codec
_
desc.c
}
.
@item
@item
If it has a
f
our
cc
, did you add it to @file
{
libavformat/riff.c
}
,
If it has a
F
our
CC
, did you add it to @file
{
libavformat/riff.c
}
,
even if it is only a decoder?
even if it is only a decoder?
@item
@item
Did you add a rule to compile the appropriate files in the Makefile?
Did you add a rule to compile the appropriate files in the Makefile?
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment