diff --git a/camera/libcameraservice/CameraService.cpp b/camera/libcameraservice/CameraService.cpp index 81d60dc5d..405d4715a 100644 --- a/camera/libcameraservice/CameraService.cpp +++ b/camera/libcameraservice/CameraService.cpp @@ -197,7 +197,7 @@ void CameraService::decUsers() { static sp newMediaPlayer(const char *file) { sp mp = new MediaPlayer(); - if (mp->setDataSource(file) == NO_ERROR) { + if (mp->setDataSource(file, NULL /* headers */) == NO_ERROR) { mp->setAudioStreamType(AudioSystem::ENFORCED_AUDIBLE); mp->prepare(); } else {