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
309fe16a
Commit
309fe16a
authored
Oct 26, 2016
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: Return correct coded frame sizes from parser
parent
0c559f78
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
mpegvideo_parser.c
libavcodec/mpegvideo_parser.c
+4
-2
No files found.
libavcodec/mpegvideo_parser.c
View file @
309fe16a
...
...
@@ -168,8 +168,10 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s,
if
(
pix_fmt
!=
AV_PIX_FMT_NONE
)
{
s
->
format
=
pix_fmt
;
s
->
width
=
s
->
coded_width
=
pc
->
width
;
s
->
height
=
s
->
coded_height
=
pc
->
height
;
s
->
width
=
pc
->
width
;
s
->
height
=
pc
->
height
;
s
->
coded_width
=
FFALIGN
(
pc
->
width
,
16
);
s
->
coded_height
=
FFALIGN
(
pc
->
height
,
16
);
}
#if FF_API_AVCTX_TIMEBASE
...
...
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