mpegts: only emit new packets if data buffer exists
authorMarton Balint <cus@passwd.hu>
Thu, 1 May 2014 23:44:19 +0000 (01:44 +0200)
committerMarton Balint <cus@passwd.hu>
Mon, 5 May 2014 20:33:52 +0000 (22:33 +0200)
commit9ba8debce9946b21c20791b0d234443f71e471a0
tree248490b22a08fc0fe32f81a9e058ba1ba90a2a60
parenta82e87618fc04fe146ccd2da5f50154c4461e3f6
mpegts: only emit new packets if data buffer exists

I don't think this can acutally happen in the current code, but better safe
than sorry.

Fixes Coverity CID 732217.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/mpegts.c