Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
96577475
Commit
96577475
authored
Sep 13, 2012
by
Jason Martens
Committed by
Fiona Glaser
Sep 26, 2012
Browse files
Fix use of deprecated av_close_input_file call
parent
02217bd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
96577475
...
...
@@ -835,7 +835,7 @@ if [ "$lavf" = "auto" ] ; then
done
fi
LAVF_LIBS
=
"-L.
$LAVF_LIBS
"
if
cc_check libavformat/avformat.h
"
$LAVF_CFLAGS
$LAVF_LIBS
"
"avformat_
find_stream_info(0,0); avcodec_open2(0,0,
0);"
;
then
if
cc_check libavformat/avformat.h
"
$LAVF_CFLAGS
$LAVF_LIBS
"
"avformat_
close_input(
0);"
;
then
if
[
"
$swscale
"
=
"yes"
]
;
then
lavf
=
"yes"
else
...
...
input/lavf.c
View file @
96577475
...
...
@@ -245,7 +245,7 @@ static int close_file( hnd_t handle )
{
lavf_hnd_t
*
h
=
handle
;
avcodec_close
(
h
->
lavf
->
streams
[
h
->
stream_id
]
->
codec
);
av_close_input
_file
(
h
->
lavf
);
av
format
_close_input
(
&
h
->
lavf
);
free
(
h
);
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