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
f08fefc4
Commit
f08fefc4
authored
Mar 07, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: remove a useless svq3 condition
The svq3 decoder does not call ff_h264_frame_start() anymore.
parent
07054015
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
h264.c
libavcodec/h264.c
+2
-5
No files found.
libavcodec/h264.c
View file @
f08fefc4
...
...
@@ -1802,11 +1802,8 @@ int ff_h264_frame_start(H264Context *h)
/* We mark the current picture as non-reference after allocating it, so
* that if we break out due to an error it can be released automatically
* in the next ff_MPV_frame_start().
* SVQ3 as well as most other codecs have only last/next/current and thus
* get released even with set reference, besides SVQ3 and others do not
* mark frames as reference later "naturally". */
if
(
h
->
avctx
->
codec_id
!=
AV_CODEC_ID_SVQ3
)
h
->
cur_pic_ptr
->
reference
=
0
;
*/
h
->
cur_pic_ptr
->
reference
=
0
;
h
->
cur_pic_ptr
->
field_poc
[
0
]
=
h
->
cur_pic_ptr
->
field_poc
[
1
]
=
INT_MAX
;
...
...
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