Fixed bug detecting last text sample is empty
Fixed bug detecting last text sample is empty

DmitrySigaev/gpac-sf,DmitrySigaev/gpac-sf,DmitrySigaev/gpac-sf,DmitrySigaev/gpac-sf,DmitrySigaev/gpac-sf,DmitrySigaev/gpac-sf