Only set the audio omx buffer flags if a frame has been decoded successfully - this fixes some avplay playback failures.  Also deal with AAC streams without ADTS headers in every frame (again, for avplay usage).