Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
9325d88e
Commit
9325d88e
authored
Aug 06, 2014
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: remove obsolete and disabled avpriv functions
parent
24c788f4
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
45 deletions
+0
-45
adx.c
libavcodec/adx.c
+0
-8
adx.h
libavcodec/adx.h
+0
-5
dv_profile.c
libavcodec/dv_profile.c
+0
-13
dv_profile.h
libavcodec/dv_profile.h
+0
-6
flac.c
libavcodec/flac.c
+0
-8
flac.h
libavcodec/flac.h
+0
-5
No files found.
libavcodec/adx.c
View file @
9325d88e
...
...
@@ -80,11 +80,3 @@ int ff_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf,
*
header_size
=
offset
;
return
0
;
}
#if LIBAVCODEC_VERSION_MAJOR < 56
int
avpriv_adx_decode_header
(
AVCodecContext
*
avctx
,
const
uint8_t
*
buf
,
int
bufsize
,
int
*
header_size
,
int
*
coeff
)
{
return
ff_adx_decode_header
(
avctx
,
buf
,
bufsize
,
header_size
,
coeff
);
}
#endif
libavcodec/adx.h
View file @
9325d88e
...
...
@@ -77,9 +77,4 @@ void ff_adx_calculate_coeffs(int cutoff, int sample_rate, int bits, int *coeff);
int
ff_adx_decode_header
(
AVCodecContext
*
avctx
,
const
uint8_t
*
buf
,
int
bufsize
,
int
*
header_size
,
int
*
coeff
);
#if LIBAVCODEC_VERSION_MAJOR < 56
int
avpriv_adx_decode_header
(
AVCodecContext
*
avctx
,
const
uint8_t
*
buf
,
int
bufsize
,
int
*
header_size
,
int
*
coeff
);
#endif
#endif
/* AVCODEC_ADX_H */
libavcodec/dv_profile.c
View file @
9325d88e
...
...
@@ -308,16 +308,3 @@ const AVDVProfile *av_dv_codec_profile(int width, int height,
return
NULL
;
}
#if LIBAVCODEC_VERSION_MAJOR < 56
const
AVDVProfile
*
avpriv_dv_frame_profile
(
const
AVDVProfile
*
sys
,
const
uint8_t
*
frame
,
unsigned
buf_size
)
{
return
av_dv_frame_profile
(
sys
,
frame
,
buf_size
);
}
const
AVDVProfile
*
avpriv_dv_codec_profile
(
AVCodecContext
*
codec
)
{
return
av_dv_codec_profile
(
codec
->
width
,
codec
->
height
,
codec
->
pix_fmt
);
}
#endif
libavcodec/dv_profile.h
View file @
9325d88e
...
...
@@ -53,12 +53,6 @@ typedef struct AVDVProfile {
const
uint8_t
(
*
audio_shuffle
)[
9
];
/* PCM shuffling table */
}
AVDVProfile
;
#if LIBAVCODEC_VERSION_MAJOR < 56
const
AVDVProfile
*
avpriv_dv_frame_profile
(
const
AVDVProfile
*
sys
,
const
uint8_t
*
frame
,
unsigned
buf_size
);
const
AVDVProfile
*
avpriv_dv_codec_profile
(
AVCodecContext
*
codec
);
#endif
/**
* Get a DV profile for the provided compressed frame.
*
...
...
libavcodec/flac.c
View file @
9325d88e
...
...
@@ -236,11 +236,3 @@ void avpriv_flac_parse_streaminfo(AVCodecContext *avctx, struct FLACStreaminfo *
skip_bits_long
(
&
gb
,
64
);
/* md5 sum */
skip_bits_long
(
&
gb
,
64
);
/* md5 sum */
}
#if LIBAVCODEC_VERSION_MAJOR < 56
void
avpriv_flac_parse_block_header
(
const
uint8_t
*
block_header
,
int
*
last
,
int
*
type
,
int
*
size
)
{
flac_parse_block_header
(
block_header
,
last
,
type
,
size
);
}
#endif
libavcodec/flac.h
View file @
9325d88e
...
...
@@ -110,11 +110,6 @@ int avpriv_flac_is_extradata_valid(AVCodecContext *avctx,
enum
FLACExtradataFormat
*
format
,
uint8_t
**
streaminfo_start
);
#if LIBAVCODEC_VERSION_MAJOR < 56
void
avpriv_flac_parse_block_header
(
const
uint8_t
*
block_header
,
int
*
last
,
int
*
type
,
int
*
size
);
#endif
/**
* Calculate an estimate for the maximum frame size based on verbatim mode.
* @param blocksize block size, in samples
...
...
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