This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Make audio_read_packet() return AVERROR_EOF rather than AVERROR(EOF) =
AVERROR(-1) = 1. Originally committed as revision 22664 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Stefano Sabatini
16 years ago
parent
b1cc5540e7
commit
bd01c39330
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavdevice/oss_audio.c
+ 1
- 1
libavdevice/oss_audio.c
View File
@@ -256,7 +256,7 @@ static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
av_free_packet(pkt);
pkt->size = 0;
if (ret<0) return AVERROR(errno);
else return AVERROR
(EOF)
;
else return AVERROR
_EOF
;
}
pkt->size = ret;
Write
Preview
Loading…
Cancel
Save