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;