Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
5cc8b816
Commit
5cc8b816
authored
Aug 23, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpeg4videodec: fix GEOV/GEOX fliping
Fixes Ticket317 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
3941a4f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
h263dec.c
libavcodec/h263dec.c
+15
-0
No files found.
libavcodec/h263dec.c
View file @
5cc8b816
...
...
@@ -757,6 +757,21 @@ intrax8_decoded:
}
if
(
s
->
last_picture_ptr
||
s
->
low_delay
){
if
(
pict
->
format
==
AV_PIX_FMT_YUV420P
&&
(
s
->
codec_tag
==
AV_RL32
(
"GEOV"
)
||
s
->
codec_tag
==
AV_RL32
(
"GEOX"
)))
{
int
x
,
y
,
p
;
av_frame_make_writable
(
pict
);
for
(
p
=
0
;
p
<
3
;
p
++
)
{
int
w
=
-
((
-
pict
->
width
)
>>!!
p
);
int
h
=
-
((
-
pict
->
height
)
>>!!
p
);
int
linesize
=
pict
->
linesize
[
p
];
for
(
y
=
0
;
y
<
(
h
>>
1
);
y
++
)
for
(
x
=
0
;
x
<
w
;
x
++
)
FFSWAP
(
int
,
pict
->
data
[
p
][
x
+
y
*
linesize
],
pict
->
data
[
p
][
x
+
(
h
-
1
-
y
)
*
linesize
]);
}
}
*
got_frame
=
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