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
12f47539
Commit
12f47539
authored
May 26, 2016
by
Matthieu Bouron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc/mediacodecdec_h264: rename input_ref to input_pkt
parent
15432a90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mediacodecdec_h264.c
libavcodec/mediacodecdec_h264.c
+5
-5
No files found.
libavcodec/mediacodecdec_h264.c
View file @
12f47539
...
...
@@ -257,19 +257,19 @@ static int mediacodec_decode_frame(AVCodecContext *avctx, void *data,
/* buffer the input packet */
if
(
avpkt
->
size
)
{
AVPacket
input_
ref
=
{
0
};
AVPacket
input_
pkt
=
{
0
};
if
(
av_fifo_space
(
s
->
fifo
)
<
sizeof
(
input_
ref
))
{
if
(
av_fifo_space
(
s
->
fifo
)
<
sizeof
(
input_
pkt
))
{
ret
=
av_fifo_realloc2
(
s
->
fifo
,
av_fifo_size
(
s
->
fifo
)
+
sizeof
(
input_
ref
));
av_fifo_size
(
s
->
fifo
)
+
sizeof
(
input_
pkt
));
if
(
ret
<
0
)
return
ret
;
}
ret
=
av_packet_ref
(
&
input_
ref
,
avpkt
);
ret
=
av_packet_ref
(
&
input_
pkt
,
avpkt
);
if
(
ret
<
0
)
return
ret
;
av_fifo_generic_write
(
s
->
fifo
,
&
input_
ref
,
sizeof
(
input_ref
),
NULL
);
av_fifo_generic_write
(
s
->
fifo
,
&
input_
pkt
,
sizeof
(
input_pkt
),
NULL
);
}
/* process buffered data */
...
...
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