From 38111e80a5048284ef5037908ae7c39477648c8b Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 15 Aug 2017 13:17:51 -0400 Subject: [PATCH] use AVERROR_EOF instead of EOF --- src/zm_videostore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index c51740028..cafd6ddb2 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -333,7 +333,7 @@ VideoStore::~VideoStore(){ } ret = avcodec_receive_packet( audio_output_context, &pkt ); if ( ret < 0 ) { - if ( EOF != ret ) { + if ( AVERROR_EOF != ret ) { Error("ERror encoding audio while flushing (%d) (%s)", ret, av_err2str( ret )); } break;