2018-01-19 22:12 GMT+01:00 Davood Falahati <[email protected]>:
> Dear Carl,
>
>> Possibly unneeded cast and you should check all
>> allocations for success.This one works in C
>
>        if(in_stream->side_data!=NULL){
>
>                int *sd_size=malloc(sizeof(int*));

Not sure why this is allocated on the heap, but
the allocation is not checked.

Carl Eugen
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to