playing h264 content when using ffmpeg master doesn't work

I'm flooded with this messages. I'll attach a full log using vlc -vv filename. ffplay works perfectly fine.

[0x880f3a4] main video output error: picture to display 0x86dfdc4 has invalid status 0 [0x880f3a4] main video output error: picture to display 0x86dfdc4 has invalid status 0 [0x880f3a4] main video output error: picture to display 0x86dfdc4 has invalid status 0 [0x880f3a4] main video output error: Invalid picture reference count (0x86dfdc4, 0) [0x880f3a4] main video output error: picture to display 0x86dfdc4 has invalid status 0 [0x880f3a4] main video output error: Invalid picture reference count (0x86dfdc4, 0) [0x880f3a4] main video output error: picture to display 0x86dfdc4 has invalid status 0 [0x880f3a4] main video output error: Invalid picture reference count (0x86dfdc4, 0) [0x880f3a4] main video output error: picture to display 0x86dfdc4 has invalid status 0 [0x880f3a4] main video output error: Invalid picture reference count (0x86dfdc4, 0) [0x880f3a4] main video output error: picture to display 0x86dfdc4 has invalid status 0 [0x880f3a4] main video output error: Invalid picture reference count (0x86dfdc4, 0)