Officially the infallibility only applies to a papal bull -- http://en.wikipedia.org/wiki/Papal_bull

Cynics might assume this is a way to excuse all the stupid shit popes say without invalidating all the stupid shit they say "on the record".