diff options
Diffstat (limited to 'channels/vcodecs.c')
-rw-r--r-- | channels/vcodecs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/vcodecs.c b/channels/vcodecs.c index c667fdb13..db591cad3 100644 --- a/channels/vcodecs.c +++ b/channels/vcodecs.c @@ -1131,8 +1131,9 @@ static enum CodecID map_video_format(uint32_t ast_format, int rw) struct _cm *i; for (i = video_formats; i->ast_format != 0; i++) - if (ast_format & i->ast_format && rw & i->rw && rw & i->rw) + if (ast_format & i->ast_format && rw & i->rw) { return i->codec; + } return CODEC_ID_NONE; } |