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
9fe5a7b8
Commit
9fe5a7b8
authored
Oct 01, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not call (av_)abort()
Originally committed as revision 3543 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
cacf7199
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
common.c
libavcodec/common.c
+1
-1
mpegaudio.c
libavcodec/mpegaudio.c
+1
-1
utils.c
libavcodec/utils.c
+2
-1
xvmcvideo.c
libavcodec/xvmcvideo.c
+1
-1
No files found.
libavcodec/common.c
View file @
9fe5a7b8
...
...
@@ -190,7 +190,7 @@ static int build_table(VLC *vlc, int table_nb_bits,
#endif
if
(
table
[
j
][
1
]
/*bits*/
!=
0
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"incorrect codes
\n
"
);
av_abort
()
;
return
-
1
;
}
table
[
j
][
1
]
=
n
;
//bits
table
[
j
][
0
]
=
i
;
//code
...
...
libavcodec/mpegaudio.c
View file @
9fe5a7b8
...
...
@@ -466,7 +466,7 @@ static void compute_scale_factors(unsigned char scale_code[SBLIMIT],
sf
[
1
]
=
sf
[
2
]
=
sf
[
0
];
break
;
default:
a
v_abort
();
a
ssert
(
0
);
//cant happen
}
#if 0
...
...
libavcodec/utils.c
View file @
9fe5a7b8
...
...
@@ -726,7 +726,8 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
bitrate
=
enc
->
bit_rate
;
break
;
default
:
av_abort
();
snprintf
(
buf
,
buf_size
,
"Invalid Codec type %d"
,
enc
->
codec_type
);
return
;
}
if
(
encode
)
{
if
(
enc
->
flags
&
CODEC_FLAG_PASS1
)
...
...
libavcodec/xvmcvideo.c
View file @
9fe5a7b8
...
...
@@ -136,7 +136,7 @@ const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
if
(
s
->
encoding
){
av_log
(
s
->
avctx
,
AV_LOG_ERROR
,
"XVMC doesn't support encoding!!!
\n
"
);
av_abort
()
;
return
-
1
;
}
//from MPV_decode_mb(),
...
...
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