OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90dca14
)
single frame output fix
author
Fabrice Bellard
<fabrice@bellard.org>
Mon, 21 Oct 2002 17:48:33 +0000
(17:48 +0000)
committer
Fabrice Bellard
<fabrice@bellard.org>
Mon, 21 Oct 2002 17:48:33 +0000
(17:48 +0000)
Originally committed as revision 1061 to svn://svn.ffmpeg.org/ffmpeg/trunk
libav/utils.c
patch
|
blob
|
history
diff --git
a/libav/utils.c
b/libav/utils.c
index
da4f632
..
d7cf658
100644
(file)
--- a/
libav/utils.c
+++ b/
libav/utils.c
@@
-734,7
+734,7
@@
int av_write_header(AVFormatContext *s)
* @param stream_index stream index
* @param buf buffer containing the frame data
* @param size size of buffer
- * @return
non zero if error
.
+ * @return
< 0 if error, = 0 if OK, 1 if end of stream wanted
.
*/
int av_write_frame(AVFormatContext *s, int stream_index, const uint8_t *buf,
int size)
@@
-763,7
+763,7
@@
int av_write_frame(AVFormatContext *s, int stream_index, const uint8_t *buf,
default:
break;
}
- return
0
;
+ return
ret
;
}
/**