Does ffmpeg decode h264 bytestreams

I have got a camera, which gives me a byte stream of a video over a socket. I need to decode the h264 byte stream and display the video. Does FFmpeg support h264 decoding? If yes could someone post an example? Thanks in advance