rtpproto: Simplify the rtp_read function by looping over the fds
authorMartin Storsjö <martin@martin.st>
Wed, 31 Jul 2013 09:21:47 +0000 (12:21 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 31 Jul 2013 18:12:34 +0000 (21:12 +0300)
commit892b0be1dfbdeaf71235fb6c593286e4f5c7e4ec
tree932a1f49d6bced116cf0f575006d682300b6d018
parent7531588fffbca1f0afdcc06635999c00dfc16ca6
rtpproto: Simplify the rtp_read function by looping over the fds

This avoids having duplicate code where only the fd parameter
differs.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpproto.c