Revision 4da766ce libavformat/electronicarts.c
libavformat/electronicarts.c | ||
---|---|---|
422 | 422 |
st->codec->height = ea->height; |
423 | 423 |
} |
424 | 424 |
|
425 |
if (ea->num_channels <= 0) { |
|
426 |
av_log(s, AV_LOG_WARNING, "Unsupported number of channels: %d\n", ea->num_channels); |
|
427 |
ea->audio_codec = 0; |
|
428 |
} |
|
429 |
|
|
425 | 430 |
if (ea->audio_codec) { |
426 | 431 |
/* initialize the audio decoder stream */ |
427 | 432 |
st = av_new_stream(s, 0); |
Also available in: Unified diff