Commit 8378c090 authored by lucabe's avatar lucabe

Return pkt->size in v4l2_read_packet().

mmap_read_frame() takes care of ensuring that the packet size
is correct.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20855 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3ca5c74d
......@@ -625,7 +625,7 @@ static int v4l2_read_packet(AVFormatContext *s1, AVPacket *pkt)
s1->streams[0]->codec->coded_frame->top_field_first = s->top_field_first;
}
return s->frame_size;
return pkt->size;
}
static int v4l2_read_close(AVFormatContext *s1)
......
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