mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
Output error messages to stderr
This commit is contained in:
parent
3da71b62bf
commit
82cf4e8ff4
|
@ -504,7 +504,7 @@ void get_extended_block_avx2(int xpos, int ypos, int mv_x, int mv_y, int off_x,
|
|||
if (sample_out_of_bounds){
|
||||
out->buffer = MALLOC(kvz_pixel, (width + filter_size) * (width + filter_size));
|
||||
if (!out->buffer){
|
||||
printf("Memory allocation failed!\n");
|
||||
fprintf(stderr, "Memory allocation failed!\n");
|
||||
assert(0);
|
||||
}
|
||||
out->stride = width + filter_size;
|
||||
|
|
|
@ -505,7 +505,7 @@ void get_extended_block_generic(int xpos, int ypos, int mv_x, int mv_y, int off_
|
|||
if (sample_out_of_bounds){
|
||||
out->buffer = MALLOC(kvz_pixel, (width + filter_size) * (width + filter_size));
|
||||
if (!out->buffer){
|
||||
printf("Memory allocation failed!\n");
|
||||
fprintf(stderr, "Memory allocation failed!\n");
|
||||
assert(0);
|
||||
}
|
||||
out->stride = width + filter_size;
|
||||
|
|
Loading…
Reference in a new issue