diff options
author | Dmitri Belimov <d.belimov@gmail.com> | 2009-08-10 03:48:16 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 11:19:11 -0400 |
commit | 7ae26889635d0708bb2a0b5d21f99368abc2366c (patch) | |
tree | 35c9d6624c5bd52a94547bb319d7232477b606bc /drivers/media/video/saa7134/saa6752hs.c | |
parent | ad5f74c0ad9afcc9a20f35850aa5170768c64a0c (diff) |
V4L/DVB (12487): Fix control AC-3 of the 6752HS
Fix error for AC-3 control of the 6752HS MPEG-2 coder.
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa6752hs.c')
-rw-r--r-- | drivers/media/video/saa7134/saa6752hs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa6752hs.c b/drivers/media/video/saa7134/saa6752hs.c index 63c4b8f1f54..1eabff6b245 100644 --- a/drivers/media/video/saa7134/saa6752hs.c +++ b/drivers/media/video/saa7134/saa6752hs.c | |||
@@ -468,7 +468,7 @@ static int handle_ctrl(int has_ac3, struct saa6752hs_mpeg_params *params, | |||
468 | if (set && new != V4L2_MPEG_AUDIO_ENCODING_LAYER_2 && | 468 | if (set && new != V4L2_MPEG_AUDIO_ENCODING_LAYER_2 && |
469 | (!has_ac3 || new != V4L2_MPEG_AUDIO_ENCODING_AC3)) | 469 | (!has_ac3 || new != V4L2_MPEG_AUDIO_ENCODING_AC3)) |
470 | return -ERANGE; | 470 | return -ERANGE; |
471 | new = old; | 471 | params->au_encoding = new; |
472 | break; | 472 | break; |
473 | case V4L2_CID_MPEG_AUDIO_L2_BITRATE: | 473 | case V4L2_CID_MPEG_AUDIO_L2_BITRATE: |
474 | old = params->au_l2_bitrate; | 474 | old = params->au_l2_bitrate; |