mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
ffmpeg: averr is a raw int
This commit is contained in:
parent
bc4fe21ed1
commit
cc49c715a6
@ -128,7 +128,7 @@ int ncvisual_decode(ncvisual* nc){
|
|||||||
int averr;
|
int averr;
|
||||||
if((averr = av_read_frame(nc->details.fmtctx, nc->details.packet)) < 0){
|
if((averr = av_read_frame(nc->details.fmtctx, nc->details.packet)) < 0){
|
||||||
/*if(averr != AVERROR_EOF){
|
/*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);
|
return averr2ncerr(averr);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user