use AVERROR_EOF instead of EOF
parent
85202a0bfd
commit
38111e80a5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue