Commit c2c2cd2d authored by Michael Niedermayer's avatar Michael Niedermayer

fixing raw yuv input

Originally committed as revision 916 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b3184779
......@@ -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