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
7e0f4f9d
Commit
7e0f4f9d
authored
Oct 14, 2011
by
JULIAN GARDNER
Committed by
Michael Niedermayer
Oct 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbsubdec: bottom_field_len fix
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
55f17d31
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dvbsubdec.c
libavcodec/dvbsubdec.c
+4
-4
No files found.
libavcodec/dvbsubdec.c
View file @
7e0f4f9d
...
@@ -869,7 +869,6 @@ static void dvbsub_parse_object_segment(AVCodecContext *avctx,
...
@@ -869,7 +869,6 @@ static void dvbsub_parse_object_segment(AVCodecContext *avctx,
DVBSubContext
*
ctx
=
avctx
->
priv_data
;
DVBSubContext
*
ctx
=
avctx
->
priv_data
;
const
uint8_t
*
buf_end
=
buf
+
buf_size
;
const
uint8_t
*
buf_end
=
buf
+
buf_size
;
const
uint8_t
*
block
;
int
object_id
;
int
object_id
;
DVBSubObject
*
object
;
DVBSubObject
*
object
;
DVBSubObjectDisplay
*
display
;
DVBSubObjectDisplay
*
display
;
...
@@ -900,7 +899,8 @@ static void dvbsub_parse_object_segment(AVCodecContext *avctx,
...
@@ -900,7 +899,8 @@ static void dvbsub_parse_object_segment(AVCodecContext *avctx,
}
}
for
(
display
=
object
->
display_list
;
display
;
display
=
display
->
object_list_next
)
{
for
(
display
=
object
->
display_list
;
display
;
display
=
display
->
object_list_next
)
{
block
=
buf
;
const
uint8_t
*
block
=
buf
;
int
bfl
=
bottom_field_len
;
dvbsub_parse_pixel_data_block
(
avctx
,
display
,
block
,
top_field_len
,
0
,
dvbsub_parse_pixel_data_block
(
avctx
,
display
,
block
,
top_field_len
,
0
,
non_modifying_color
);
non_modifying_color
);
...
@@ -908,9 +908,9 @@ static void dvbsub_parse_object_segment(AVCodecContext *avctx,
...
@@ -908,9 +908,9 @@ static void dvbsub_parse_object_segment(AVCodecContext *avctx,
if
(
bottom_field_len
>
0
)
if
(
bottom_field_len
>
0
)
block
=
buf
+
top_field_len
;
block
=
buf
+
top_field_len
;
else
else
b
ottom_field_len
=
top_field_len
;
b
fl
=
top_field_len
;
dvbsub_parse_pixel_data_block
(
avctx
,
display
,
block
,
b
ottom_field_len
,
1
,
dvbsub_parse_pixel_data_block
(
avctx
,
display
,
block
,
b
fl
,
1
,
non_modifying_color
);
non_modifying_color
);
}
}
...
...
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