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
c2d418f1
Commit
c2d418f1
authored
Nov 09, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing -sameq with mpeg2
Originally committed as revision 1179 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f01a1894
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mpeg12.c
libavcodec/mpeg12.c
+2
-1
No files found.
libavcodec/mpeg12.c
View file @
c2d418f1
...
@@ -1677,7 +1677,6 @@ eos: //end of slice
...
@@ -1677,7 +1677,6 @@ eos: //end of slice
MPV_frame_end
(
s
);
MPV_frame_end
(
s
);
/* XXX: incorrect reported qscale for mpeg2 */
if
(
s
->
pict_type
==
B_TYPE
)
{
if
(
s
->
pict_type
==
B_TYPE
)
{
picture
=
s
->
current_picture
;
picture
=
s
->
current_picture
;
avctx
->
quality
=
s
->
qscale
;
avctx
->
quality
=
s
->
qscale
;
...
@@ -1693,6 +1692,8 @@ eos: //end of slice
...
@@ -1693,6 +1692,8 @@ eos: //end of slice
s
->
last_qscale
=
s
->
qscale
;
s
->
last_qscale
=
s
->
qscale
;
s
->
picture_number
++
;
s
->
picture_number
++
;
}
}
if
(
s
->
mpeg2
)
avctx
->
quality
>>=
1
;
if
(
picture
)
{
if
(
picture
)
{
pict
->
data
[
0
]
=
picture
[
0
];
pict
->
data
[
0
]
=
picture
[
0
];
pict
->
data
[
1
]
=
picture
[
1
];
pict
->
data
[
1
]
=
picture
[
1
];
...
...
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