Merge branch 'master' of github.com:ZoneMinder/ZoneMinder
This commit is contained in:
commit
501b3a52fb
|
@ -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<const AVCodec *>(audio_in_ctx->codec);
|
||||
//audio_in_codec = avcodec_find_decoder(audio_in_stream->codec->codec_id);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ private:
|
|||
AVFrame *out_frame;
|
||||
|
||||
AVCodecContext *video_in_ctx;
|
||||
AVCodec *audio_in_codec;
|
||||
const AVCodec *audio_in_codec;
|
||||
AVCodecContext *audio_in_ctx;
|
||||
|
||||
// The following are used when encoding the audio stream to AAC
|
||||
|
|
Loading…
Reference in New Issue