am7xxx-play: fix an error message, we now use am7xxx_send_image_async()
[libam7xxx.git] / examples / am7xxx-play.c
index 0fa7c58..1b06dfa 100644 (file)
@@ -435,7 +435,7 @@ static int am7xxx_play(const char *input_format_string,
                                                      out_picture,
                                                      out_picture_size);
                        if (ret < 0) {
                                                      out_picture,
                                                      out_picture_size);
                        if (ret < 0) {
-                               perror("am7xxx_send_image");
+                               perror("am7xxx_send_image_async");
                                run = 0;
                                goto end_while;
                        }
                                run = 0;
                                goto end_while;
                        }