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
7c45087b
Commit
7c45087b
authored
Mar 08, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: update the fallback versions of ff_thread_*
Fixes build without threads after
759001c5
.
parent
19dd4017
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
utils.c
libavcodec/utils.c
+6
-6
No files found.
libavcodec/utils.c
View file @
7c45087b
...
@@ -2315,26 +2315,26 @@ int ff_thread_ref_frame(ThreadFrame *dst, ThreadFrame *src)
...
@@ -2315,26 +2315,26 @@ int ff_thread_ref_frame(ThreadFrame *dst, ThreadFrame *src)
#if !HAVE_THREADS
#if !HAVE_THREADS
int
ff_thread_get_buffer
(
AVCodecContext
*
avctx
,
AV
Frame
*
f
,
int
flags
)
int
ff_thread_get_buffer
(
AVCodecContext
*
avctx
,
Thread
Frame
*
f
,
int
flags
)
{
{
f
->
owner
=
avctx
;
f
->
owner
=
avctx
;
return
ff_get_buffer
(
avctx
,
f
,
flags
);
return
ff_get_buffer
(
avctx
,
f
->
f
,
flags
);
}
}
void
ff_thread_release_buffer
(
AVCodecContext
*
avctx
,
AV
Frame
*
f
)
void
ff_thread_release_buffer
(
AVCodecContext
*
avctx
,
Thread
Frame
*
f
)
{
{
av_frame_unref
(
f
);
av_frame_unref
(
f
->
f
);
}
}
void
ff_thread_finish_setup
(
AVCodecContext
*
avctx
)
void
ff_thread_finish_setup
(
AVCodecContext
*
avctx
)
{
{
}
}
void
ff_thread_report_progress
(
AV
Frame
*
f
,
int
progress
,
int
field
)
void
ff_thread_report_progress
(
Thread
Frame
*
f
,
int
progress
,
int
field
)
{
{
}
}
void
ff_thread_await_progress
(
AV
Frame
*
f
,
int
progress
,
int
field
)
void
ff_thread_await_progress
(
Thread
Frame
*
f
,
int
progress
,
int
field
)
{
{
}
}
...
...
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