mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-24 00:31:51 -04:00
return a value from write_packet
This commit is contained in:
@@ -654,7 +654,7 @@ bool VideoStore::setup_resampler() {
|
||||
#else
|
||||
// codec is already open in ffmpeg_camera
|
||||
audio_in_ctx = audio_in_stream->codec;
|
||||
audio_in_codec = reinterpret_cast<AVCodec *>audio_in_ctx->codec;
|
||||
audio_in_codec = reinterpret_cast<AVCodec *>(audio_in_ctx->codec);
|
||||
//audio_in_codec = avcodec_find_decoder(audio_in_stream->codec->codec_id);
|
||||
#endif
|
||||
|
||||
@@ -1268,6 +1268,7 @@ int VideoStore::write_packet(AVPacket *pkt, AVStream *stream) {
|
||||
} else {
|
||||
Debug(2, "Success writing packet");
|
||||
}
|
||||
return ret;
|
||||
} // end int VideoStore::write_packet(AVPacket *pkt, AVStream *stream)
|
||||
|
||||
int VideoStore::resample_audio() {
|
||||
|
||||
Reference in New Issue
Block a user