Re #1219: compile error with undeclared FF_PROFILE_H264_BASELINE and FF_PROFILE_H264_MAIN

git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3502 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c b/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
index 3be1281..137fe68 100644
--- a/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
+++ b/pjmedia/src/pjmedia-codec/ffmpeg_codecs.c
@@ -217,6 +217,10 @@
 };
 
 
+/* H264 constants */
+#define PROFILE_H264_BASELINE		66
+#define PROFILE_H264_MAIN		77
+
 /* Codec specific functions */
 static pj_status_t h264_preopen(ffmpeg_private *ff);
 static pj_status_t h264_postopen(ffmpeg_private *ff);
@@ -317,7 +321,7 @@
 	 * use this profile param field, so let's try to apply it "manually".
 	 */
 	ctx->profile  = data->fmtp.profile_idc;
-	if (ctx->profile == FF_PROFILE_H264_BASELINE) {
+	if (ctx->profile == PROFILE_H264_BASELINE) {
 	    /* Baseline profile settings (the most used profile in
 	     * conversational/real-time communications).
 	     */
@@ -325,7 +329,7 @@
 	    ctx->max_b_frames = 0;
 	    ctx->flags2 &= ~(CODEC_FLAG2_WPRED | CODEC_FLAG2_8X8DCT);
 	    ctx->weighted_p_pred = 0;
-	} else if (ctx->profile == FF_PROFILE_H264_MAIN) {
+	} else if (ctx->profile == PROFILE_H264_MAIN) {
 	    ctx->flags2 &= ~CODEC_FLAG2_8X8DCT;
 	}