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
ab7692ee
Commit
ab7692ee
authored
Apr 28, 2018
by
Marton Balint
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/libzvbi-teletextdec: remove DEBUG code
Signed-off-by:
Marton Balint
<
cus@passwd.hu
>
parent
03038d4d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
libzvbi-teletextdec.c
libavcodec/libzvbi-teletextdec.c
+0
-25
No files found.
libavcodec/libzvbi-teletextdec.c
View file @
ab7692ee
...
...
@@ -70,9 +70,6 @@ typedef struct TeletextContext
int
handler_ret
;
vbi_decoder
*
vbi
;
#ifdef DEBUG
vbi_export
*
ex
;
#endif
vbi_sliced
sliced
[
MAX_SLICES
];
int
readorder
;
...
...
@@ -306,15 +303,6 @@ static void handler(vbi_event *ev, void *user_data)
if
(
!
res
)
return
;
#ifdef DEBUG
fprintf
(
stderr
,
"
\n
Saving res=%d dy0=%d dy1=%d...
\n
"
,
res
,
page
.
dirty
.
y0
,
page
.
dirty
.
y1
);
fflush
(
stderr
);
if
(
!
vbi_export_stdio
(
ctx
->
ex
,
stderr
,
&
page
))
fprintf
(
stderr
,
"failed: %s
\n
"
,
vbi_export_errstr
(
ctx
->
ex
));
#endif
vpt
=
vbi_classify_page
(
ctx
->
vbi
,
ev
->
ev
.
ttx_page
.
pgno
,
&
subno
,
&
lang
);
chop_top
=
ctx
->
chop_top
||
((
page
.
rows
>
1
)
&&
(
vpt
==
VBI_SUBTITLE_PAGE
));
...
...
@@ -421,13 +409,6 @@ static int teletext_decode_frame(AVCodecContext *avctx, void *data, int *data_si
ff_dlog
(
avctx
,
"ctx=%p buf_size=%d lines=%u pkt_pts=%7.3f
\n
"
,
ctx
,
pkt
->
size
,
lines
,
(
double
)
pkt
->
pts
/
90000
.
0
);
if
(
lines
>
0
)
{
#ifdef DEBUG
int
i
;
av_log
(
avctx
,
AV_LOG_DEBUG
,
"line numbers:"
);
for
(
i
=
0
;
i
<
lines
;
i
++
)
av_log
(
avctx
,
AV_LOG_DEBUG
,
" %d"
,
ctx
->
sliced
[
i
].
line
);
av_log
(
avctx
,
AV_LOG_DEBUG
,
"
\n
"
);
#endif
vbi_decode
(
ctx
->
vbi
,
ctx
->
sliced
,
lines
,
0
.
0
);
ctx
->
lines_processed
+=
lines
;
}
...
...
@@ -505,12 +486,6 @@ static int teletext_init_decoder(AVCodecContext *avctx)
if
(
ctx
->
opacity
==
-
1
)
ctx
->
opacity
=
ctx
->
transparent_bg
?
0
:
255
;
#ifdef DEBUG
{
char
*
t
;
ctx
->
ex
=
vbi_export_new
(
"text"
,
&
t
);
}
#endif
av_log
(
avctx
,
AV_LOG_VERBOSE
,
"page filter: %s
\n
"
,
ctx
->
pgno
);
return
(
ctx
->
format_id
==
1
)
?
ff_ass_subtitle_header_default
(
avctx
)
:
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