[Miscellaneous Android Development] awaldram:
If I knew what was wong i would tell you , Sorry If I appear impatient nothing could be further from the truth.

Having run XBMC since xbmp days I have never seen this so not sure why you think it build related.

I have xbmc running on

12.1 = Android (809ii)

13 = Android (Nexus)

12.2 = Ubuntu

12.2 = Rasberry Pi

12.2 = Windows 7

All play this content without issue so not sure which 'XBMC' build you believe is faulty .?

I left the player running to see what hapens when 'locked' strangely it was still streaming 1:43 (1 hour 43 minutes) into the 32 minute broadcast, I press stop and Xbmc locks heres the ending of the log

17:35:50 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:50 T:1484227680 DEBUG: CSoftAEStream::Flush
17:35:50 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:50 T:1484227680 DEBUG: CSoftAEStream::Flush
17:35:50 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:50 T:1484227680 DEBUG: Previous line repeats 1 times.
17:35:50 T:1484227680 DEBUG: CSoftAEStream::Flush
17:35:51 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:51 T:1484227680 DEBUG: CSoftAEStream::Flush
17:35:51 T:1376064608 DEBUG: Previous line repeats 1 times.
17:35:51 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:51 T:1484227680 DEBUG: CSoftAEStream::Flush
17:35:51 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:51 T:1484227680 DEBUG: CSoftAEStream::Flush
17:35:51 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:51 T:1484227680 DEBUG: CSoftAEStream::Flush
17:35:51 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:52 T:1484227680 DEBUG: CSoftAEStream::Flush
17:35:52 T:1091137536 DEBUG: Keyboard: scancode: 69, sym: 0114, unicode: 0000, modifier: 0
17:35:52 T:1091137536 DEBUG: OnKey: left (f082) pressed, action is StepBack
17:35:52 T:1349514336 DEBUG: CDVDPlayer::SetCaching - caching state 3
17:35:52 T:1349514336 DEBUG: demuxer seek to: 6201527
17:35:52 T:1100428384 DEBUG: CSoftAE::Run - Sink restart flagged
17:35:52 T:1100428384 INFO: CSoftAE::LoadSettings - Stereo upmix is enabled
17:35:52 T:1100428384 INFO: CSoftAE::InternalOpenSink - keeping old sink with : AE_FMT_FLOAT, FL,FR, 48000hz
17:35:52 T:1100428384 DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
17:35:52 T:1100428384 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 8192
17:35:52 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:52 T:1349514336 DEBUG: SeekTime - seek ended up on time 1969199
17:35:52 T:1349514336 DEBUG: demuxer seek to: 6201527, success
17:35:52 T:1484227680 DEBUG: CSoftAEStream::Flush
17:35:52 T:1091137536 DEBUG: CAnnouncementManager - Announcement: OnSeek from xbmc
17:35:52 T:1091137536 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnSeek
17:35:52 T:1091137536 DEBUG: ------ Window Init (DialogSeekBar.xml) ------
17:35:52 T:1091137536 DEBUG: Window DialogSeekBar.xml was already loaded
17:35:52 T:1091137536 DEBUG: Alloc resources: 0.11m
17:35:52 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:53 T:1484227680 DEBUG: Previous line repeats 4 times.
17:35:53 T:1484227680 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
17:35:53 T:1484227680 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(1963500132.888893, 1)
17:35:53 T:1349514336 DEBUG: CDVDPlayer::SetCaching - caching state 0
17:35:53 T:1349514336 NOTICE: CDVDPlayer::eek:nExit()
17:35:53 T:1349514336 NOTICE: DVDPlayer: eof, waiting for queues to empty
17:35:53 T:1100428384 DEBUG: CSoftAE::Run - Sink restart flagged
17:35:53 T:1484227680 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_EOF
17:35:53 T:1349514336 NOTICE: DVDPlayer: closing audio stream
17:35:53 T:1349514336 NOTICE: Closing audio stream
17:35:53 T:1349514336 NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
17:35:53 T:1100428384 INFO: CSoftAE::LoadSettings - Stereo upmix is enabled
17:35:53 T:1484227680 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
17:35:53 T:1484227680 DEBUG: CDVDPlayerAudio::Process - Abort received, exiting thread
17:35:53 T:1484227680 NOTICE: thread end: CDVDPlayerAudio::eek:nExit()
17:35:53 T:1349514336 NOTICE: Waiting for audio thread to exit
17:35:53 T:1484227680 DEBUG: Thread CDVDPlayerAudio 1484227680 terminating
17:35:53 T:1349514336 NOTICE: Closing audio device
17:35:53 T:1349514336 DEBUG: CSoftAEStream::~CSoftAEStream - Destructed
17:35:53 T:1349514336 NOTICE: Deleting audio codec
17:35:53 T:1349514336 NOTICE: DVDPlayer: closing video stream
17:35:53 T:1349514336 NOTICE: Closing video stream
17:35:53 T:1349514336 NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
17:35:53 T:1100428384 INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
17:35:53 T:1100428384 INFO: CAESinkALSA::Initialize - Attempting to open device "default"
17:35:53 T:1100428384 INFO: CAESinkALSA::Initialize - Opened device "default"
17:35:53 T:1100428384 INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats
17:35:53 T:1100428384 INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S16NE
17:35:53 T:1100428384 DEBUG: CAESinkALSA::InitializeHW - Min: periodSize 16, periods 2, bufferSize 32
17:35:53 T:1100428384 DEBUG: CAESinkALSA::InitializeHW - Max: periodSize 2048, periods 1024, bufferSize 32768
17:35:53 T:1100428384 DEBUG: CAESinkALSA::InitializeHW - Req: periodSize 1024, periods 8, bufferSize 8192
17:35:53 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:53 T:1100428384 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 1024, bufferSize 8192
17:35:53 T:1100428384 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 186 ms
17:35:53 T:1100428384 DEBUG: CSoftAE::InternalOpenSink - ALSA Initialized:
17:35:53 T:1100428384 DEBUG: Output Device : Default (AML-DUMMY-CODEC Analog)
17:35:53 T:1100428384 DEBUG: Sample Rate : 44100
17:35:53 T:1100428384 DEBUG: Sample Format : AE_FMT_S16NE
17:35:53 T:1100428384 DEBUG: Channel Count : 2
17:35:53 T:1100428384 DEBUG: Channel Layout: FL,FR
17:35:53 T:1100428384 DEBUG: Frames : 1024
17:35:53 T:1100428384 DEBUG: Frame Samples : 2048
17:35:53 T:1100428384 DEBUG: Frame Size : 4
17:35:53 T:1100428384 DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
17:35:53 T:1100428384 DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 8192
17:35:53 T:1100428384 DEBUG: AERemap: Downmix normalization is disabled
17:35:53 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:53 T:1100428384 DEBUG: Previous line repeats 1 times.
17:35:53 T:1100428384 DEBUG: AERemap: Downmix normalization is disabled
17:35:53 T:1376064608 DEBUG: Previous line repeats 1 times.
17:35:53 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:35:55 T:1091137536 DEBUG: Previous line repeats 9 times.
17:35:55 T:1091137536 DEBUG: Keyboard: scancode: 2d, sym: 0078, unicode: 0078, modifier: 0
17:35:55 T:1091137536 DEBUG: OnKey: x (f058) pressed, action is Stop
17:35:55 T:1091137536 NOTICE: CDVDPlayer::CloseFile()
17:35:55 T:1091137536 NOTICE: DVDPlayer: waiting for threads to exit
17:35:55 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161
17:36:33 T:1349514336 DEBUG: Previous line repeats 186 times.
17:36:33 T:1349514336 NOTICE: waiting for video thread to exit
17:36:33 T:1376064608 DEBUG: [write_header] write_bytes: -1, len: 196608, pkt->hdr->size: 4740161

To me it looks like compile issues around ffmpeg or issues with amplayer and the content

Would you like a debug log of a pi playing the same content for comparison.?