whitespace changes

pull/1480/head
Isaac Connor 2016-04-17 09:29:00 -04:00
parent d6f640907f
commit 98fa65310b
1 changed files with 2 additions and 1 deletions

View File

@ -96,12 +96,13 @@ VideoStore::VideoStore(const char *filename_in, const char *format_in,
} }
if (inpaud_st) { if (inpaud_st) {
audio_st = avformat_new_stream(oc, inpaud_st->codec->codec); audio_st = avformat_new_stream(oc, inpaud_st->codec->codec);
if (!audio_st) { if (!audio_st) {
Error("Unable to create audio out stream\n"); Error("Unable to create audio out stream\n");
audio_st = NULL; audio_st = NULL;
} else { } else {
ret=avcodec_copy_context(audio_st->codec, inpaud_st->codec); ret = avcodec_copy_context(audio_st->codec, inpaud_st->codec);
if (ret < 0) { if (ret < 0) {
Fatal("Unable to copy audio context %s\n", av_make_error_string(ret).c_str()); Fatal("Unable to copy audio context %s\n", av_make_error_string(ret).c_str());
} }