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
d9ebb00d
Commit
d9ebb00d
authored
Feb 04, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
svq3: remove a pointless if()
The H264 context is always uninitialized at this point.
parent
2491f9ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
120 additions
and
122 deletions
+120
-122
svq3.c
libavcodec/svq3.c
+120
-122
No files found.
libavcodec/svq3.c
View file @
d9ebb00d
...
@@ -856,7 +856,6 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
...
@@ -856,7 +856,6 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
h
->
is_complex
=
1
;
h
->
is_complex
=
1
;
avctx
->
pix_fmt
=
avctx
->
codec
->
pix_fmts
[
0
];
avctx
->
pix_fmt
=
avctx
->
codec
->
pix_fmts
[
0
];
if
(
!
s
->
context_initialized
)
{
h
->
chroma_qp
[
0
]
=
h
->
chroma_qp
[
1
]
=
4
;
h
->
chroma_qp
[
0
]
=
h
->
chroma_qp
[
1
]
=
4
;
svq3
->
halfpel_flag
=
1
;
svq3
->
halfpel_flag
=
1
;
...
@@ -997,7 +996,6 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
...
@@ -997,7 +996,6 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
av_log
(
avctx
,
AV_LOG_ERROR
,
"svq3 memory allocation failed
\n
"
);
av_log
(
avctx
,
AV_LOG_ERROR
,
"svq3 memory allocation failed
\n
"
);
return
AVERROR
(
ENOMEM
);
return
AVERROR
(
ENOMEM
);
}
}
}
return
0
;
return
0
;
}
}
...
...
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