Fix a bug in deciding ref frame context in ext-refs

Change-Id: Ie58b98baa870c5d2a5b7193f8fe4f84fd7ec6c16
1 file changed