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
3a09dbdb
Commit
3a09dbdb
authored
Aug 17, 2019
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: remove some dead assignments
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
b2e37e3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
bsf.c
libavcodec/bsf.c
+0
-1
decode.c
libavcodec/decode.c
+0
-1
No files found.
libavcodec/bsf.c
View file @
3a09dbdb
...
@@ -306,7 +306,6 @@ static int bsf_list_filter(AVBSFContext *bsf, AVPacket *out)
...
@@ -306,7 +306,6 @@ static int bsf_list_filter(AVBSFContext *bsf, AVPacket *out)
ret
=
av_bsf_receive_packet
(
lst
->
bsfs
[
lst
->
idx
-
1
],
out
);
ret
=
av_bsf_receive_packet
(
lst
->
bsfs
[
lst
->
idx
-
1
],
out
);
if
(
ret
==
AVERROR
(
EAGAIN
))
{
if
(
ret
==
AVERROR
(
EAGAIN
))
{
/* no more packets from idx-1, try with previous */
/* no more packets from idx-1, try with previous */
ret
=
0
;
lst
->
idx
--
;
lst
->
idx
--
;
continue
;
continue
;
}
else
if
(
ret
==
AVERROR_EOF
)
{
}
else
if
(
ret
==
AVERROR_EOF
)
{
...
...
libavcodec/decode.c
View file @
3a09dbdb
...
@@ -300,7 +300,6 @@ static int bsfs_poll(AVCodecContext *avctx, AVPacket *pkt)
...
@@ -300,7 +300,6 @@ static int bsfs_poll(AVCodecContext *avctx, AVPacket *pkt)
ret
=
av_bsf_receive_packet
(
s
->
bsfs
[
idx
],
pkt
);
ret
=
av_bsf_receive_packet
(
s
->
bsfs
[
idx
],
pkt
);
if
(
ret
==
AVERROR
(
EAGAIN
))
{
if
(
ret
==
AVERROR
(
EAGAIN
))
{
/* no packets available, try the next filter up the chain */
/* no packets available, try the next filter up the chain */
ret
=
0
;
idx
--
;
idx
--
;
continue
;
continue
;
}
else
if
(
ret
<
0
&&
ret
!=
AVERROR_EOF
)
{
}
else
if
(
ret
<
0
&&
ret
!=
AVERROR_EOF
)
{
...
...
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