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
32151404
Commit
32151404
authored
Nov 13, 2013
by
Diego Biurrun
Committed by
Michael Niedermayer
Nov 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg12dec: Remove incomplete and wrong UV swapping code for VCR2
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
bae14f38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
mpeg12dec.c
libavcodec/mpeg12dec.c
+0
-1
No files found.
libavcodec/mpeg12dec.c
View file @
32151404
...
@@ -2106,7 +2106,6 @@ static int vcr2_init_sequence(AVCodecContext *avctx)
...
@@ -2106,7 +2106,6 @@ static int vcr2_init_sequence(AVCodecContext *avctx)
if
(
s
->
codec_tag
==
AV_RL32
(
"BW10"
))
{
if
(
s
->
codec_tag
==
AV_RL32
(
"BW10"
))
{
s
->
codec_id
=
s
->
avctx
->
codec_id
=
AV_CODEC_ID_MPEG1VIDEO
;
s
->
codec_id
=
s
->
avctx
->
codec_id
=
AV_CODEC_ID_MPEG1VIDEO
;
}
else
{
}
else
{
exchange_uv
(
s
);
// common init reset pblocks, so we swap them here
s
->
swap_uv
=
1
;
// in case of xvmc we need to swap uv for each MB
s
->
swap_uv
=
1
;
// in case of xvmc we need to swap uv for each MB
s
->
codec_id
=
s
->
avctx
->
codec_id
=
AV_CODEC_ID_MPEG2VIDEO
;
s
->
codec_id
=
s
->
avctx
->
codec_id
=
AV_CODEC_ID_MPEG2VIDEO
;
}
}
...
...
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