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
9d335739
Commit
9d335739
authored
Apr 25, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mpeg12dec: Make ff_dlog() messages more clear
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f4c311fe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mpeg12dec.c
libavcodec/mpeg12dec.c
+3
-3
No files found.
libavcodec/mpeg12dec.c
View file @
9d335739
...
...
@@ -1303,10 +1303,10 @@ static int mpeg_decode_postinit(AVCodecContext *avctx)
// res_change_ffmpeg_aspect.ts 4/3 225/44 ->4/3
// widescreen-issue562.mpg 4/3 16/9 -> 16/9
// s->avctx->sample_aspect_ratio = av_mul_q(s->avctx->sample_aspect_ratio, (AVRational) {s->width, s->height});
ff_dlog
(
avctx
,
"A %d/%d
\n
"
,
ff_dlog
(
avctx
,
"
aspect
A %d/%d
\n
"
,
ff_mpeg2_aspect
[
s
->
aspect_ratio_info
].
num
,
ff_mpeg2_aspect
[
s
->
aspect_ratio_info
].
den
);
ff_dlog
(
avctx
,
"B %d/%d
\n
"
,
s
->
avctx
->
sample_aspect_ratio
.
num
,
ff_dlog
(
avctx
,
"
aspect
B %d/%d
\n
"
,
s
->
avctx
->
sample_aspect_ratio
.
num
,
s
->
avctx
->
sample_aspect_ratio
.
den
);
}
}
else
{
...
...
@@ -1997,7 +1997,7 @@ eos: // end of slice
return
AVERROR_INVALIDDATA
;
}
*
buf
+=
(
get_bits_count
(
&
s
->
gb
)
-
1
)
/
8
;
ff_dlog
(
s
,
"
y %d %d
%d %d
\n
"
,
s
->
resync_mb_x
,
s
->
resync_mb_y
,
s
->
mb_x
,
s
->
mb_y
);
ff_dlog
(
s
,
"
Slice start:%d %d end:
%d %d
\n
"
,
s
->
resync_mb_x
,
s
->
resync_mb_y
,
s
->
mb_x
,
s
->
mb_y
);
return
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