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
95a05030
Commit
95a05030
authored
Jun 09, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intelh263dec: fix "Strict H.263 compliance" file playback
fixes issue2449 patch submitted by xvid_fan freenet de
parent
c673c905
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
intelh263dec.c
libavcodec/intelh263dec.c
+5
-2
No files found.
libavcodec/intelh263dec.c
View file @
95a05030
...
...
@@ -46,7 +46,7 @@ int ff_intel_h263_decode_picture_header(MpegEncContext *s)
skip_bits1
(
&
s
->
gb
);
/* freeze picture release off */
format
=
get_bits
(
&
s
->
gb
,
3
);
if
(
format
!=
7
)
{
if
(
format
==
0
||
format
==
6
)
{
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Intel H263 free format not supported
\n
"
);
return
-
1
;
}
...
...
@@ -64,7 +64,10 @@ int ff_intel_h263_decode_picture_header(MpegEncContext *s)
s
->
obmc
=
get_bits1
(
&
s
->
gb
);
s
->
pb_frame
=
get_bits1
(
&
s
->
gb
);
if
(
format
==
7
){
if
(
format
<
6
)
{
s
->
width
=
h263_format
[
format
][
0
];
s
->
height
=
h263_format
[
format
][
1
];
}
else
{
format
=
get_bits
(
&
s
->
gb
,
3
);
if
(
format
==
0
||
format
==
7
){
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"Wrong Intel H263 format
\n
"
);
...
...
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