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
56200884
Commit
56200884
authored
Sep 05, 2012
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: fix a few typo in some comments.
parent
9d9f34a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utils.c
libavformat/utils.c
+2
-2
No files found.
libavformat/utils.c
View file @
56200884
...
...
@@ -2012,7 +2012,7 @@ int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int
}
//Fallback to old API if new is not implemented but old is
//Note the old has somew
at different sema
tics
//Note the old has somew
hat different seman
tics
if
(
s
->
iformat
->
read_seek
||
1
)
{
int
dir
=
(
ts
-
min_ts
>
(
uint64_t
)(
max_ts
-
ts
)
?
AVSEEK_FLAG_BACKWARD
:
0
);
int
ret
=
av_seek_frame
(
s
,
stream_index
,
ts
,
flags
|
dir
);
...
...
@@ -3546,7 +3546,7 @@ int ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
return
AVERROR
(
ENOMEM
);
this_pktl
->
pkt
=
*
pkt
;
pkt
->
destruct
=
NULL
;
// do not free original but only the copy
av_dup_packet
(
&
this_pktl
->
pkt
);
// duplicate the packet if it uses non-alloced memory
av_dup_packet
(
&
this_pktl
->
pkt
);
// duplicate the packet if it uses non-alloc
at
ed memory
if
(
s
->
streams
[
pkt
->
stream_index
]
->
last_in_packet_buffer
){
next_point
=
&
(
st
->
last_in_packet_buffer
->
next
);
...
...
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