Commit a70c4155 authored by michaelni's avatar michaelni

fixing raw yuv input


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@916 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a73d04a6
......@@ -372,8 +372,12 @@ int rawvideo_read_packet(AVFormatContext *s,
return -EIO;
pkt->stream_index = 0;
#if 0
/* bypass buffered I/O */
ret = url_read(url_fileno(&s->pb), pkt->data, pkt->size);
#else
ret = get_buffer(&s->pb, pkt->data, pkt->size);
#endif
if (ret != pkt->size) {
av_free_packet(pkt);
return -EIO;
......
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