Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
41d0eb1c
Commit
41d0eb1c
authored
Feb 03, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: remove the FF_API_SET_STRING_OLD cruft.
parent
01a4259b
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
6 additions
and
74 deletions
+6
-74
cmdutils.c
cmdutils.c
+1
-1
ffmpeg.c
ffmpeg.c
+1
-1
ffplay.c
ffplay.c
+1
-1
ffprobe.c
ffprobe.c
+1
-1
ffserver.c
ffserver.c
+1
-1
opt.c
libavcodec/opt.c
+0
-16
opt.h
libavcodec/opt.h
+0
-49
version.h
libavcodec/version.h
+0
-3
options.c
libswscale/options.c
+1
-1
No files found.
cmdutils.c
View file @
41d0eb1c
...
...
@@ -38,7 +38,7 @@
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/eval.h"
#include "libav
codec
/opt.h"
#include "libav
util
/opt.h"
#include "cmdutils.h"
#include "version.h"
#if CONFIG_NETWORK
...
...
ffmpeg.c
View file @
41d0eb1c
...
...
@@ -34,7 +34,7 @@
#include "libavformat/avformat.h"
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#include "libav
codec
/opt.h"
#include "libav
util
/opt.h"
#include "libavcodec/audioconvert.h"
#include "libavutil/audioconvert.h"
#include "libavutil/parseutils.h"
...
...
ffplay.c
View file @
41d0eb1c
...
...
@@ -35,7 +35,7 @@
#include "libavdevice/avdevice.h"
#include "libswscale/swscale.h"
#include "libavcodec/audioconvert.h"
#include "libav
codec
/opt.h"
#include "libav
util
/opt.h"
#include "libavcodec/avfft.h"
#if CONFIG_AVFILTER
...
...
ffprobe.c
View file @
41d0eb1c
...
...
@@ -23,7 +23,7 @@
#include "libavformat/avformat.h"
#include "libavcodec/avcodec.h"
#include "libav
codec
/opt.h"
#include "libav
util
/opt.h"
#include "libavutil/pixdesc.h"
#include "libavdevice/avdevice.h"
#include "cmdutils.h"
...
...
ffserver.c
View file @
41d0eb1c
...
...
@@ -40,7 +40,7 @@
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"
#include "libavutil/parseutils.h"
#include "libav
codec
/opt.h"
#include "libav
util
/opt.h"
#include <stdarg.h>
#include <unistd.h>
#include <fcntl.h>
...
...
libavcodec/opt.c
View file @
41d0eb1c
...
...
@@ -64,19 +64,3 @@ FF_SYMVER(void, av_opt_set_defaults2, (void *s, int mask, int flags), "LIBAVCODE
return
av_opt_set_defaults2
(
s
,
mask
,
flags
);
}
#endif
#if FF_API_SET_STRING_OLD
const
AVOption
*
av_set_string2
(
void
*
obj
,
const
char
*
name
,
const
char
*
val
,
int
alloc
){
const
AVOption
*
o
;
if
(
av_set_string3
(
obj
,
name
,
val
,
alloc
,
&
o
)
<
0
)
return
NULL
;
return
o
;
}
const
AVOption
*
av_set_string
(
void
*
obj
,
const
char
*
name
,
const
char
*
val
){
const
AVOption
*
o
;
if
(
av_set_string3
(
obj
,
name
,
val
,
0
,
&
o
)
<
0
)
return
NULL
;
return
o
;
}
#endif
libavcodec/opt.h
deleted
100644 → 0
View file @
01a4259b
/*
* AVOptions
* copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of Libav.
*
* Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* Libav is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef AVCODEC_OPT_H
#define AVCODEC_OPT_H
/**
* @file
* AVOptions
*/
#include "libavutil/rational.h"
#include "avcodec.h"
#include "libavutil/opt.h"
#if FF_API_SET_STRING_OLD
/**
* @see av_set_string2()
*/
attribute_deprecated
const
AVOption
*
av_set_string
(
void
*
obj
,
const
char
*
name
,
const
char
*
val
);
/**
* @return a pointer to the AVOption corresponding to the field set or
* NULL if no matching AVOption exists, or if the value val is not
* valid
* @see av_set_string3()
*/
attribute_deprecated
const
AVOption
*
av_set_string2
(
void
*
obj
,
const
char
*
name
,
const
char
*
val
,
int
alloc
);
#endif
#endif
/* AVCODEC_OPT_H */
libavcodec/version.h
View file @
41d0eb1c
...
...
@@ -41,9 +41,6 @@
#ifndef FF_API_PALETTE_CONTROL
#define FF_API_PALETTE_CONTROL (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_SET_STRING_OLD
#define FF_API_SET_STRING_OLD (LIBAVCODEC_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_INOFFICIAL
#define FF_API_INOFFICIAL (LIBAVCODEC_VERSION_MAJOR < 53)
#endif
...
...
libswscale/options.c
View file @
41d0eb1c
...
...
@@ -20,7 +20,7 @@
#include "libavutil/avutil.h"
#include "libavutil/pixfmt.h"
#include "libav
codec
/opt.h"
#include "libav
util
/opt.h"
#include "swscale.h"
#include "swscale_internal.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment