Commit 4c4459c6 authored by bellard's avatar bellard

single frame output fix


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1061 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b97d4b73
...@@ -734,7 +734,7 @@ int av_write_header(AVFormatContext *s) ...@@ -734,7 +734,7 @@ int av_write_header(AVFormatContext *s)
* @param stream_index stream index * @param stream_index stream index
* @param buf buffer containing the frame data * @param buf buffer containing the frame data
* @param size size of buffer * @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 av_write_frame(AVFormatContext *s, int stream_index, const uint8_t *buf,
int size) int size)
...@@ -763,7 +763,7 @@ int av_write_frame(AVFormatContext *s, int stream_index, const uint8_t *buf, ...@@ -763,7 +763,7 @@ int av_write_frame(AVFormatContext *s, int stream_index, const uint8_t *buf,
default: default:
break; break;
} }
return 0; return ret;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment