diff --git a/libavdevice/oss_audio.c b/libavdevice/oss_audio.c
index f3edbdbef0ccb01685ed31162bbfa27544ca89d6..c1b244af7275144ab4da46015979dda03aa94b60 100644
--- a/libavdevice/oss_audio.c
+++ b/libavdevice/oss_audio.c
@@ -251,7 +251,7 @@ static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
     if ((ret=av_new_packet(pkt, s->frame_size)) < 0)
         return ret;
 
-        ret = read(s->fd, pkt->data, pkt->size);
+    ret = read(s->fd, pkt->data, pkt->size);
     if (ret <= 0){
         av_free_packet(pkt);
         pkt->size = 0;