diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-09-09 22:32:50 +0400 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-09-09 22:32:50 +0400 |
commit | 00adc1e5dc4f5f310ade5acc19ffdde78b0ed51d (patch) | |
tree | b9796965a016ff1ffd5a9c0bb026b4e2ff63a5ef /libavdevice/vfwcap.c | |
parent | 0f5d4aa83b90ded818ea3b1a826baf01bb496a24 (diff) |
set bits_per_coded_sample according to new lavc api
Originally committed as revision 15289 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/vfwcap.c')
-rw-r--r-- | libavdevice/vfwcap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c index be6003a422..34e33c2e90 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -370,7 +370,7 @@ static int vfw_read_header(AVFormatContext *s, AVFormatParameters *ap) codec->codec_id = CODEC_ID_RAWVIDEO; codec->pix_fmt = vfw_pixfmt(biCompression, biBitCount); if(biCompression == BI_RGB) - codec->bits_per_sample = biBitCount; + codec->bits_per_coded_sample = biBitCount; av_set_pts_info(st, 32, 1, 1000); |