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
c8f4c83e
Commit
c8f4c83e
authored
Jun 22, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h.263dec: use av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
258dfff8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
ituh263dec.c
libavcodec/ituh263dec.c
+3
-6
No files found.
libavcodec/ituh263dec.c
View file @
c8f4c83e
...
...
@@ -42,9 +42,6 @@
#include "flv.h"
#include "mpeg4video.h"
//#undef NDEBUG
//#include <assert.h>
// The defines below define the number of bits that are read at once for
// reading vlc values. Changing these may improve speed and data cache needs
// be aware though that decreasing them may need the number of stages that is
...
...
@@ -212,7 +209,7 @@ static int h263_decode_gob_header(MpegEncContext *s)
*/
const
uint8_t
*
ff_h263_find_resync_marker
(
const
uint8_t
*
av_restrict
p
,
const
uint8_t
*
av_restrict
end
)
{
a
ssert
(
p
<
end
);
a
v_assert2
(
p
<
end
);
end
-=
2
;
p
++
;
...
...
@@ -608,7 +605,7 @@ int ff_h263_decode_mb(MpegEncContext *s,
const
int
xy
=
s
->
mb_x
+
s
->
mb_y
*
s
->
mb_stride
;
int
cbpb
=
0
,
pb_mv_count
=
0
;
a
ssert
(
!
s
->
h263_pred
);
a
v_assert2
(
!
s
->
h263_pred
);
if
(
s
->
pict_type
==
AV_PICTURE_TYPE_P
)
{
do
{
...
...
@@ -748,7 +745,7 @@ int ff_h263_decode_mb(MpegEncContext *s,
}
else
cbp
=
0
;
a
ssert
(
!
s
->
mb_intra
);
a
v_assert2
(
!
s
->
mb_intra
);
if
(
IS_QUANT
(
mb_type
)){
h263_decode_dquant
(
s
);
...
...
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