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
8ab3b71e
Commit
8ab3b71e
authored
Oct 18, 2014
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
idcin: fix return check
CC: libav-stable@libav.org Bug-Id: CID 732198
parent
0034314a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
idcin.c
libavformat/idcin.c
+2
-2
No files found.
libavformat/idcin.c
View file @
8ab3b71e
...
@@ -317,9 +317,9 @@ static int idcin_read_packet(AVFormatContext *s,
...
@@ -317,9 +317,9 @@ static int idcin_read_packet(AVFormatContext *s,
pal
=
av_packet_new_side_data
(
pkt
,
AV_PKT_DATA_PALETTE
,
pal
=
av_packet_new_side_data
(
pkt
,
AV_PKT_DATA_PALETTE
,
AVPALETTE_SIZE
);
AVPALETTE_SIZE
);
if
(
ret
<
0
)
{
if
(
!
pal
)
{
av_free_packet
(
pkt
);
av_free_packet
(
pkt
);
return
ret
;
return
AVERROR
(
ENOMEM
)
;
}
}
memcpy
(
pal
,
palette
,
AVPALETTE_SIZE
);
memcpy
(
pal
,
palette
,
AVPALETTE_SIZE
);
pkt
->
flags
|=
AV_PKT_FLAG_KEY
;
pkt
->
flags
|=
AV_PKT_FLAG_KEY
;
...
...
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