OSDN Git Service

rtpdec_h264: Remove an unnecessary check
authorMartin Storsjö <martin@martin.st>
Thu, 19 Feb 2015 19:28:58 +0000 (21:28 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 20 Feb 2015 17:29:58 +0000 (19:29 +0200)
commita335ed767161c6da2815371177cfd5e40f78e5b7
tree28e19ba78f89b28d031bf230a317fbe772d0bf70
parent176903ce833ce7469f411640e9748a0d549b5285
rtpdec_h264: Remove an unnecessary check

If src_len is too small for nal_size, we already print a warning
above, and the next step is to check the while loop condition
anyway, so this one serves no purpose.

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