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
11f8f2c0
Commit
11f8f2c0
authored
Aug 14, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: export queue_attached_pictures
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a39c5c4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
avformat.h
libavformat/avformat.h
+3
-0
utils.c
libavformat/utils.c
+4
-4
No files found.
libavformat/avformat.h
View file @
11f8f2c0
...
...
@@ -2007,6 +2007,9 @@ AVRational av_guess_sample_aspect_ratio(AVFormatContext *format, AVStream *strea
int
avformat_match_stream_specifier
(
AVFormatContext
*
s
,
AVStream
*
st
,
const
char
*
spec
);
void
avformat_queue_attached_pictures
(
AVFormatContext
*
s
);
/**
* @}
*/
...
...
libavformat/utils.c
View file @
11f8f2c0
...
...
@@ -571,7 +571,7 @@ static AVPacket *add_to_pktbuf(AVPacketList **packet_buffer, AVPacket *pkt,
return
&
pktl
->
pkt
;
}
static
void
queue_attached_pictures
(
AVFormatContext
*
s
)
void
avformat_
queue_attached_pictures
(
AVFormatContext
*
s
)
{
int
i
;
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
...
...
@@ -646,7 +646,7 @@ int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputForma
goto
fail
;
ff_id3v2_free_extra_meta
(
&
id3v2_extra_meta
);
queue_attached_pictures
(
s
);
avformat_
queue_attached_pictures
(
s
);
if
(
!
(
s
->
flags
&
AVFMT_FLAG_PRIV_OPT
)
&&
s
->
pb
&&
!
s
->
data_offset
)
s
->
data_offset
=
avio_tell
(
s
->
pb
);
...
...
@@ -1985,7 +1985,7 @@ int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int f
int
ret
=
seek_frame_internal
(
s
,
stream_index
,
timestamp
,
flags
);
if
(
ret
>=
0
)
queue_attached_pictures
(
s
);
avformat_
queue_attached_pictures
(
s
);
return
ret
;
}
...
...
@@ -2001,7 +2001,7 @@ int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int
ret
=
s
->
iformat
->
read_seek2
(
s
,
stream_index
,
min_ts
,
ts
,
max_ts
,
flags
);
if
(
ret
>=
0
)
queue_attached_pictures
(
s
);
avformat_
queue_attached_pictures
(
s
);
return
ret
;
}
...
...
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