Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
15946eb8
Commit
15946eb8
authored
Oct 25, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: remove "legacy" mpegvideo decoder.
parent
cf543c65
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
18 deletions
+0
-18
Makefile
libavcodec/Makefile
+0
-2
allcodecs.c
libavcodec/allcodecs.c
+0
-1
mpeg12.c
libavcodec/mpeg12.c
+0
-15
No files found.
libavcodec/Makefile
View file @
15946eb8
...
...
@@ -245,8 +245,6 @@ OBJS-$(CONFIG_MPC7_DECODER) += mpc7.o mpc.o mpegaudiodec.o \
OBJS-$(CONFIG_MPC8_DECODER)
+=
mpc8.o
mpc.o
mpegaudiodec.o
\
mpegaudiodecheader.o
mpegaudio.o
\
mpegaudiodata.o
OBJS-$(CONFIG_MPEGVIDEO_DECODER)
+=
mpeg12.o
mpeg12data.o
\
mpegvideo.o
error_resilience.o
OBJS-$(CONFIG_MPEG_XVMC_DECODER)
+=
mpegvideo_xvmc.o
OBJS-$(CONFIG_MPEG1VIDEO_DECODER)
+=
mpeg12.o
mpeg12data.o
\
mpegvideo.o
error_resilience.o
...
...
libavcodec/allcodecs.c
View file @
15946eb8
...
...
@@ -145,7 +145,6 @@ void avcodec_register_all(void)
REGISTER_ENCDEC
(
MPEG2VIDEO
,
mpeg2video
);
REGISTER_ENCDEC
(
MPEG4
,
mpeg4
);
REGISTER_DECODER
(
MPEG4_VDPAU
,
mpeg4_vdpau
);
REGISTER_DECODER
(
MPEGVIDEO
,
mpegvideo
);
REGISTER_DECODER
(
MPEG_VDPAU
,
mpeg_vdpau
);
REGISTER_DECODER
(
MPEG1_VDPAU
,
mpeg1_vdpau
);
REGISTER_DECODER
(
MSMPEG4V1
,
msmpeg4v1
);
...
...
libavcodec/mpeg12.c
View file @
15946eb8
...
...
@@ -2522,21 +2522,6 @@ AVCodec ff_mpeg2video_decoder = {
.
profiles
=
NULL_IF_CONFIG_SMALL
(
mpeg2_video_profiles
),
};
//legacy decoder
AVCodec
ff_mpegvideo_decoder
=
{
.
name
=
"mpegvideo"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
id
=
CODEC_ID_MPEG2VIDEO
,
.
priv_data_size
=
sizeof
(
Mpeg1Context
),
.
init
=
mpeg_decode_init
,
.
close
=
mpeg_decode_end
,
.
decode
=
mpeg_decode_frame
,
.
capabilities
=
CODEC_CAP_DRAW_HORIZ_BAND
|
CODEC_CAP_DR1
|
CODEC_CAP_TRUNCATED
|
CODEC_CAP_DELAY
|
CODEC_CAP_SLICE_THREADS
,
.
flush
=
flush
,
.
max_lowres
=
3
,
.
long_name
=
NULL_IF_CONFIG_SMALL
(
"MPEG-1 video"
),
};
#if CONFIG_MPEG_XVMC_DECODER
static
av_cold
int
mpeg_mc_decode_init
(
AVCodecContext
*
avctx
)
{
...
...
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