whitespace
This commit is contained in:
parent
4ef28bb30d
commit
fdbd344d74
|
@ -823,19 +823,19 @@ int VideoStore::writeVideoFramePacket(AVPacket *ipkt) {
|
|||
int VideoStore::writeAudioFramePacket(AVPacket *ipkt) {
|
||||
Debug(4, "writeAudioFrame");
|
||||
|
||||
if (!audio_out_stream) {
|
||||
if ( !audio_out_stream ) {
|
||||
Debug(1, "Called writeAudioFramePacket when no audio_out_stream");
|
||||
return 0; // FIXME -ve return codes do not free packet in ffmpeg_camera at
|
||||
// the moment
|
||||
}
|
||||
|
||||
if (audio_out_codec) {
|
||||
if ( audio_out_codec ) {
|
||||
Debug(3, "Have audio codec");
|
||||
#ifdef HAVE_LIBAVRESAMPLE
|
||||
|
||||
#if LIBAVCODEC_VERSION_CHECK(57, 64, 0, 64, 0)
|
||||
ret = avcodec_send_packet(audio_in_ctx, ipkt);
|
||||
if (ret < 0) {
|
||||
if ( ret < 0 ) {
|
||||
Error("avcodec_send_packet fail %s", av_make_error_string(ret).c_str());
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue