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
3db320ea
Commit
3db320ea
authored
May 15, 2003
by
Falk Hüffner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warning fixes.
Originally committed as revision 1884 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
94d44f45
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
ffmpeg.c
ffmpeg.c
+1
-1
avcodec.h
libavcodec/avcodec.h
+1
-1
h264.c
libavcodec/h264.c
+1
-1
mjpeg.c
libavcodec/mjpeg.c
+1
-1
motion_est_template.c
libavcodec/motion_est_template.c
+2
-2
raw.c
libavcodec/raw.c
+1
-1
No files found.
ffmpeg.c
View file @
3db320ea
...
...
@@ -680,7 +680,7 @@ static void do_video_stats(AVFormatContext *os, AVOutputStream *ost,
avg_bitrate
=
(
double
)(
total_size
*
8
)
/
ti1
/
1000
.
0
;
fprintf
(
fvstats
,
"s_size= %8.0fkB time= %0.3f br= %7.1fkbits/s avg_br= %7.1fkbits/s "
,
(
double
)
total_size
/
1024
,
ti1
,
bitrate
,
avg_bitrate
);
fprintf
(
fvstats
,
"type= %
s
\n
"
,
av_get_pict_type_char
(
enc
->
coded_frame
->
pict_type
));
fprintf
(
fvstats
,
"type= %
c
\n
"
,
av_get_pict_type_char
(
enc
->
coded_frame
->
pict_type
));
}
}
...
...
libavcodec/avcodec.h
View file @
3db320ea
libavcodec/h264.c
View file @
3db320ea
...
...
@@ -2563,7 +2563,7 @@ static Picture * remove_short(H264Context *h, int frame_num){
for
(
i
=
0
;
i
<
h
->
short_ref_count
;
i
++
){
Picture
*
pic
=
h
->
short_ref
[
i
];
if
(
s
->
avctx
->
debug
&
FF_DEBUG_MMCO
)
printf
(
"%d %d %
X
\n
"
,
i
,
pic
->
frame_num
,
(
int
)
pic
);
printf
(
"%d %d %
p
\n
"
,
i
,
pic
->
frame_num
,
pic
);
if
(
pic
->
frame_num
==
frame_num
){
h
->
short_ref
[
i
]
=
NULL
;
memmove
(
&
h
->
short_ref
[
i
],
&
h
->
short_ref
[
i
+
1
],
(
h
->
short_ref_count
-
i
-
1
)
*
sizeof
(
Picture
*
));
...
...
libavcodec/mjpeg.c
View file @
3db320ea
...
...
@@ -478,7 +478,7 @@ static void escape_FF(MpegEncContext *s, int start)
int
size
=
get_bit_count
(
&
s
->
pb
)
-
start
*
8
;
int
i
,
ff_count
;
uint8_t
*
buf
=
s
->
pb
.
buf
+
start
;
int
align
=
(
-
(
in
t
)(
buf
))
&
3
;
int
align
=
(
-
(
size_
t
)(
buf
))
&
3
;
assert
((
size
&
7
)
==
0
);
size
>>=
3
;
...
...
libavcodec/motion_est_template.c
View file @
3db320ea
...
...
@@ -43,8 +43,8 @@
op_pixels_func (*chroma_hpel_put)[4];\
qpel_mc_func (*qpel_put)[16];\
qpel_mc_func (*qpel_avg)[16]= &s->dsp.avg_qpel_pixels_tab[size];\
const __attribute__((unused)) int unu= time_pp + time_pb + (
int)src_u + (int)src_v + (int)ref_u + (in
t)ref_v\
+ (
int)ref2_y + (int)hpel_avg + (int)qpel_avg + (in
t)score_map;\
const __attribute__((unused)) int unu= time_pp + time_pb + (
size_t)src_u + (size_t)src_v + (size_t)ref_u + (size_
t)ref_v\
+ (
size_t)ref2_y + (size_t)hpel_avg + (size_t)qpel_avg + (size_
t)score_map;\
if(s->no_rounding
/*FIXME b_type*/
){\
hpel_put= &s->dsp.put_no_rnd_pixels_tab[size];\
chroma_hpel_put= &s->dsp.put_no_rnd_pixels_tab[size+1];\
...
...
libavcodec/raw.c
View file @
3db320ea
...
...
@@ -141,7 +141,7 @@ static int raw_close_decoder(AVCodecContext *avctx)
static
int
raw_init_encoder
(
AVCodecContext
*
avctx
)
{
avctx
->
coded_frame
=
(
AV
Picture
*
)
avctx
->
priv_data
;
avctx
->
coded_frame
=
(
AV
Frame
*
)
avctx
->
priv_data
;
avctx
->
coded_frame
->
pict_type
=
FF_I_TYPE
;
avctx
->
coded_frame
->
key_frame
=
1
;
avctx
->
codec_tag
=
findFourCC
(
avctx
->
pix_fmt
);
...
...
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