fix bug of librtmp sample on x86/x64 platform