mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
x11-toolkits/nucleo: oops, restore size check after r425305
PR: 207547
This commit is contained in:
parent
f50e9633b6
commit
804f284b08
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=425324
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= nucleo
|
||||
PORTVERSION= 0.7.6
|
||||
PORTREVISION= 15
|
||||
PORTREVISION= 16
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= http://insitu.lri.fr/metisse/download/nucleo/
|
||||
|
||||
|
@ -152,7 +152,7 @@
|
||||
+
|
||||
+ int got_packet = 0 ;
|
||||
+ int ret = avcodec_encode_video2(cctx, &pkt, picture, &got_packet) ;
|
||||
+ if (ret) {
|
||||
+ if (ret < 0 || !got_packet || pkt.size <= 0) {
|
||||
+ std::cerr << "ffmpegImageSink: avcodec_encode_video2 failed" << std::endl ;
|
||||
stop() ;
|
||||
return false ;
|
||||
|
Loading…
Reference in New Issue
Block a user