ffmpeg: averr is a raw int

This commit is contained in:
nick black 2021-01-02 01:56:37 -05:00
parent bc4fe21ed1
commit cc49c715a6
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -128,7 +128,7 @@ int ncvisual_decode(ncvisual* nc){
int averr;
if((averr = av_read_frame(nc->details.fmtctx, nc->details.packet)) < 0){
/*if(averr != AVERROR_EOF){
fprintf(stderr, "Error reading frame info (%s)\n", av_err2str(*averr));
fprintf(stderr, "Error reading frame info (%s)\n", av_err2str(averr));
}*/
return averr2ncerr(averr);
}