avsync-lib: fix wild pointer crash [1/1]

PD#SWPL-58781

Problem:
Due to duplicated PTS of the interlaced stream, dropping logic is
triggered. If there is no frame in the queue, a wild pointer access will
lead to crash.

Solution:
Check pointer before access

Verify:
AP222 + Stream in JIRA

Change-Id: I4a7fd57d08bcde4c4532afbc9988c27fe009d752
1 file changed
tree: c23a8a17de39134332b667908f3168f3a982365f
  1. src/
  2. avsync-lib.mk
  3. Config.in
  4. Makefile