Mercurial > libavformat.hg
comparison dv.c @ 99:16d27a2435e3 libavformat
support for DV aspect ratio and erroneous audio patch by (Dan Dennedy (dan at dennedy dot org) and Roman Shaposhnick <rvs at sun dot com>)
author | michaelni |
---|---|
date | Fri, 04 Apr 2003 13:45:45 +0000 |
parents | b1dd147434af |
children | 68b0e1708839 |
comparison
equal
deleted
inserted
replaced
98:cae6ddfadf51 | 99:16d27a2435e3 |
---|---|
45 if (!ast) | 45 if (!ast) |
46 return AVERROR_NOMEM; | 46 return AVERROR_NOMEM; |
47 | 47 |
48 ast->codec.codec_type = CODEC_TYPE_AUDIO; | 48 ast->codec.codec_type = CODEC_TYPE_AUDIO; |
49 ast->codec.codec_id = CODEC_ID_DVAUDIO; | 49 ast->codec.codec_id = CODEC_ID_DVAUDIO; |
50 ast->codec.channels = 2; | |
51 c->is_audio = 0; | 50 c->is_audio = 0; |
52 | 51 |
53 return 0; | 52 return 0; |
54 } | 53 } |
55 | 54 |