diff options
author | Sam Hocevar <sam+ffmpeg@zoy.org> | 2005-08-11 22:26:12 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-08-11 22:26:12 +0000 |
commit | 9f747cc328de389eb3748038202f753316a0a6ab (patch) | |
tree | bdf828f1697214ddf751ea675232f01e80105de2 /libavformat/grab_bktr.c | |
parent | dbbcfd6bc3d283d9b29e3d4f2e6409fb91e8617b (diff) | |
download | ffmpeg-9f747cc328de389eb3748038202f753316a0a6ab.tar.gz |
minor compilation fix
A few files are not in sync with the change of AVStream's codec
member from inline struct to pointer.
patch by (Sam Hocevar: sam, zoy org)
Originally committed as revision 4505 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/grab_bktr.c')
-rw-r--r-- | libavformat/grab_bktr.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/grab_bktr.c b/libavformat/grab_bktr.c index a8cf7e668c..37ec929166 100644 --- a/libavformat/grab_bktr.c +++ b/libavformat/grab_bktr.c @@ -268,13 +268,13 @@ static int grab_read_header(AVFormatContext *s1, AVFormatParameters *ap) s->frame_rate_base = frame_rate_base; s->per_frame = ((u_int64_t)1000000 * s->frame_rate_base) / s->frame_rate; - st->codec.codec_type = CODEC_TYPE_VIDEO; - st->codec.pix_fmt = PIX_FMT_YUV420P; - st->codec.codec_id = CODEC_ID_RAWVIDEO; - st->codec.width = width; - st->codec.height = height; - st->codec.time_base.den = frame_rate; - st->codec.time_base.num = frame_rate_base; + st->codec->codec_type = CODEC_TYPE_VIDEO; + st->codec->pix_fmt = PIX_FMT_YUV420P; + st->codec->codec_id = CODEC_ID_RAWVIDEO; + st->codec->width = width; + st->codec->height = height; + st->codec->time_base.den = frame_rate; + st->codec->time_base.num = frame_rate_base; if (ap->standard) { if (!strcasecmp(ap->standard, "pal")) |