diff options
author | PacketVideo CM <engbuild@pv.com> | 2010-04-21 14:30:32 -0700 |
---|---|---|
committer | PacketVideo CM <engbuild@pv.com> | 2010-04-21 14:30:32 -0700 |
commit | c44bb7582f0054e461e5199c166632a8e41398ce (patch) | |
tree | 797bf501c28b454502b657b420cb51b04d77c36c /engines/player/test | |
parent | 4b8d862d65717ada2d50dfbee7304b0ec325865f (diff) | |
download | opencore-c44bb7582f0054e461e5199c166632a8e41398ce.tar.gz |
RIO-8991: Null-terminate the string sent as part of PVMFInfoSourceFormatUpdated event
Change-Id: I12d36b13a1daa08513bb4a245f01d3030b88a710
Diffstat (limited to 'engines/player/test')
-rw-r--r-- | engines/player/test/src/test_pv_player_engine_testset1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/player/test/src/test_pv_player_engine_testset1.cpp b/engines/player/test/src/test_pv_player_engine_testset1.cpp index c4009d372..16b7a40fa 100644 --- a/engines/player/test/src/test_pv_player_engine_testset1.cpp +++ b/engines/player/test/src/test_pv_player_engine_testset1.cpp @@ -4409,7 +4409,7 @@ void pvplayer_async_test_preparedstop::HandleInformationalEvent(const PVAsyncInf { fprintf(iTestMsgOutputFile, "\n\nPVMFInfoSourceFormatUpdated event received\n"); const char* localBuf = (const char*)aEvent.GetLocalBuffer(); - fprintf(iTestMsgOutputFile, "Format: %s\n\n", localBuf); + fprintf(iTestMsgOutputFile, "Length: %d, Format: %s\n\n", aEvent.GetLocalBufferSize(), localBuf); iFormatUpdatedEventReceived = true; } break; |