Commit 96e914f0 authored by lucabe's avatar lucabe

Use the correct type for the V4L2 format.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20856 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8378c090
......@@ -72,7 +72,7 @@ struct buff_data {
struct fmt_map {
enum PixelFormat ff_fmt;
int32_t v4l2_fmt;
uint32_t v4l2_fmt;
};
static struct fmt_map fmt_conversion_table[] = {
......@@ -171,7 +171,7 @@ static int device_open(AVFormatContext *ctx, uint32_t *capabilities)
return fd;
}
static int device_init(AVFormatContext *ctx, int *width, int *height, int pix_fmt)
static int device_init(AVFormatContext *ctx, int *width, int *height, uint32_t pix_fmt)
{
struct video_data *s = ctx->priv_data;
int fd = s->fd;
......
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