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
4947b062
Commit
4947b062
authored
Oct 25, 2013
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libzvbi-teletextdec: dont ignore memory allocation error silently
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
3c4b5275
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
libzvbi-teletextdec.c
libavcodec/libzvbi-teletextdec.c
+4
-1
No files found.
libavcodec/libzvbi-teletextdec.c
View file @
4947b062
...
...
@@ -440,6 +440,8 @@ teletext_decode_frame(AVCodecContext *avctx,
if
(
sub
->
rects
)
{
sub
->
num_rects
=
1
;
sub
->
rects
[
0
]
=
ctx
->
pages
->
sub_rect
;
}
else
{
ret
=
AVERROR
(
ENOMEM
);
}
}
else
{
av_log
(
avctx
,
AV_LOG_DEBUG
,
"sending empty sub
\n
"
);
...
...
@@ -452,7 +454,8 @@ teletext_decode_frame(AVCodecContext *avctx,
ctx
->
pages
[
i
]
=
ctx
->
pages
[
i
+
1
];
ctx
->
nb_pages
--
;
*
data_size
=
1
;
if
(
ret
>=
0
)
*
data_size
=
1
;
}
else
*
data_size
=
0
;
...
...
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