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
217e2f46
Commit
217e2f46
authored
May 21, 2008
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless var
Originally committed as revision 13230 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
42b9f45c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ffm.c
libavformat/ffm.c
+2
-3
No files found.
libavformat/ffm.c
View file @
217e2f46
...
...
@@ -247,7 +247,6 @@ static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt)
FFMStream
*
fst
=
st
->
priv_data
;
int64_t
pts
;
uint8_t
header
[
FRAME_HEADER_SIZE
];
int
size
=
pkt
->
size
;
pts
=
fst
->
pts
;
/* packet size & key_frame */
...
...
@@ -255,10 +254,10 @@ static int ffm_write_packet(AVFormatContext *s, AVPacket *pkt)
header
[
1
]
=
0
;
if
(
pkt
->
flags
&
PKT_FLAG_KEY
)
header
[
1
]
|=
FLAG_KEY_FRAME
;
AV_WB24
(
header
+
2
,
size
);
AV_WB24
(
header
+
2
,
pkt
->
size
);
AV_WB24
(
header
+
5
,
pkt
->
duration
);
ffm_write_data
(
s
,
header
,
FRAME_HEADER_SIZE
,
pts
,
1
);
ffm_write_data
(
s
,
pkt
->
data
,
size
,
pts
,
0
);
ffm_write_data
(
s
,
pkt
->
data
,
pkt
->
size
,
pts
,
0
);
fst
->
pts
+=
pkt
->
duration
;
return
0
;
...
...
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