Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
1dac4d55
Commit
1dac4d55
authored
Mar 16, 2011
by
Anton Khirnov
Committed by
Reinhard Tartler
Mar 16, 2011
Browse files
jvdec: don't use deprecated url_feof()
parent
79414257
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libavformat/jvdec.c
libavformat/jvdec.c
+1
-1
No files found.
libavformat/jvdec.c
View file @
1dac4d55
...
...
@@ -139,7 +139,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
AVIOContext
*
pb
=
s
->
pb
;
AVStream
*
ast
=
s
->
streams
[
0
];
while
(
!
url_feof
(
s
->
pb
)
&&
jv
->
pts
<
ast
->
nb_index_entries
)
{
while
(
!
s
->
pb
->
eof_reached
&&
jv
->
pts
<
ast
->
nb_index_entries
)
{
const
AVIndexEntry
*
e
=
ast
->
index_entries
+
jv
->
pts
;
const
JVFrame
*
jvf
=
jv
->
frames
+
jv
->
pts
;
...
...
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