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
82a6e18b
Commit
82a6e18b
authored
May 08, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/mpegvideo: Fix -flags +gray with xvid_vlc_trac7411.h263
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9025bc58
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mpegvideo.c
libavcodec/mpegvideo.c
+2
-0
No files found.
libavcodec/mpegvideo.c
View file @
82a6e18b
...
...
@@ -3276,10 +3276,12 @@ void mpv_decode_mb_internal(MpegEncContext *s, int16_t block[12][64],
skip_idct:
if
(
!
readable
){
s
->
hdsp
.
put_pixels_tab
[
0
][
0
](
s
->
dest
[
0
],
dest_y
,
linesize
,
16
);
if
(
!
CONFIG_GRAY
||
!
(
s
->
flags
&
CODEC_FLAG_GRAY
))
{
s
->
hdsp
.
put_pixels_tab
[
s
->
chroma_x_shift
][
0
](
s
->
dest
[
1
],
dest_cb
,
uvlinesize
,
16
>>
s
->
chroma_y_shift
);
s
->
hdsp
.
put_pixels_tab
[
s
->
chroma_x_shift
][
0
](
s
->
dest
[
2
],
dest_cr
,
uvlinesize
,
16
>>
s
->
chroma_y_shift
);
}
}
}
}
void
ff_mpv_decode_mb
(
MpegEncContext
*
s
,
int16_t
block
[
12
][
64
])
...
...
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