Welcome to Android Central! This error is typically due to a problem with a media file (i.e., a photo, video, or music file). The file could be corrupt. Since file corruption is more likely when saved to an SD card, see if the error persists if you unmount the SD card (in Settings>Storage).