mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00: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;
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user